diff options
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/default.nix | 1 | ||||
-rw-r--r-- | modules/nixos/roles.nix | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index 2d05002..fae14fc 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -1,5 +1,6 @@ {...}: { imports = [ + ./roles.nix ./sils ]; } diff --git a/modules/nixos/roles.nix b/modules/nixos/roles.nix new file mode 100644 index 0000000..71883e0 --- /dev/null +++ b/modules/nixos/roles.nix @@ -0,0 +1,7 @@ +{lib, ...}: { + options.role.sils = lib.mkOption { + type = lib.types.nullOr (lib.types.enum ["laptop" "undefined" "vm"]); + default = null; + description = "The role which should be applied to your configuration."; + }; +} |