diff --git a/modules/default.nix b/modules/default.nix index 69c0bdc..46c2e8e 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,5 +1,5 @@ # Common modules -{ ... }: +{ lib, ... }: { imports = [ @@ -8,4 +8,13 @@ ./services ./system ]; + + options.my = with lib; { + username = mkOption { + type = types.str; + default = "ambroisie"; + example = "alice"; + description = "my username"; + }; + }; }