summary refs log tree commit diff stats
path: root/modules/nixos/roles.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/roles.nix')
-rw-r--r--modules/nixos/roles.nix7
1 files changed, 7 insertions, 0 deletions
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.";
+  };
+}