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.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