clan: Add autoloaded clanModules from flake inputs. Rename 'directory' to 'self' in buildClan

This commit is contained in:
Qubasa
2025-01-24 12:32:04 +07:00
parent 559a95cdde
commit e36654daa1
14 changed files with 70 additions and 33 deletions

View File

@@ -8,8 +8,7 @@ let
in
{
options = {
# Required options
directory = lib.mkOption {
self = lib.mkOption {
type = types.path;
default = self;
defaultText = "Root directory of the flake";