about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-09-11 19:28:11 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-11 19:28:11 +0300
commit96ca9558928f4ffc9a99a94059fcd93d0a9de761 (patch)
tree4c89ece6605c439b8c3bf4531f4c9fcde8bf7245 /lib
parent2022-09-10 (diff)
2022-09-11
Diffstat (limited to 'lib')
-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