about summary refs log tree commit diff
path: root/lib/my.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/my.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/my.nix b/lib/my.nix
index 680d32e..a6d88cc 100644
--- a/lib/my.nix
+++ b/lib/my.nix
@@ -22,6 +22,11 @@ with lib;
                   default = name;
                   readOnly = true;
                 };
+                system = mkOption {
+                  description = "The machine's system";
+                  type = enum ["x86_64-linux" "aarch64-linux"];
+                  default = "x86_64-linux";
+                };
 
                 isHeadless = mkConfigurationTypeOption "headless";
                 isHeadful = mkConfigurationTypeOption "headful";

Consider giving Nix/NixOS a try! <3