about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-07-15 12:45:02 +0300
committerAzat Bahawi <azat@bahawi.net>2023-07-15 12:45:02 +0300
commita75acfb7ef640c2367d4547b0f479e7acaad9017 (patch)
tree253afd11564269b1812c96bf3518a8aab9d4597c /lib
parent2023-07-13 (diff)
2023-07-15
Diffstat (limited to 'lib')
-rw-r--r--lib/my.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/my.nix b/lib/my.nix
index a7f65ec..95b89cf 100644
--- a/lib/my.nix
+++ b/lib/my.nix
@@ -25,12 +25,7 @@ with lib;
 
                 system = mkOption {
                   description = "The machine's system.";
-                  type = nullOr (enum [
-                    "aarch64-darwin"
-                    "aarch64-linux"
-                    "x86_64-darwin"
-                    "x86_64-linux"
-                  ]);
+                  type = nullOr (enum platforms.all);
                   default = null;
                 };
 

Consider giving Nix/NixOS a try! <3