diff --git a/modules/default.nix b/modules/default.nix index 650757a..e294411 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,4 +1,9 @@ -{...}: { +{ + lib, + ... +}: let + inherit (lib) mkOption types; +in { imports = [ ./apps ./hardware @@ -10,4 +15,10 @@ ./timers ./username.nix ]; + + options = { + horseman = { + username = mkOption {type = types.str;}; + }; + }; } diff --git a/modules/username.nix b/modules/username.nix deleted file mode 100644 index 888e275..0000000 --- a/modules/username.nix +++ /dev/null @@ -1,9 +0,0 @@ -{lib, ...}: let - inherit (lib) mkOption types; -in { - options = { - horseman = { - username = mkOption {type = types.str;}; - }; - }; -}