diff options
-rw-r--r-- | flake.lock | 16 | ||||
-rw-r--r-- | flake.nix | 3 | ||||
-rw-r--r-- | flake/systems.nix | 5 |
3 files changed, 14 insertions, 10 deletions
diff --git a/flake.lock b/flake.lock index a0f4728..0d68fbc 100644 --- a/flake.lock +++ b/flake.lock @@ -981,18 +981,16 @@ } }, "systems_4": { + "flake": false, "locked": { - "lastModified": 1680978846, - "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", - "owner": "nix-systems", - "repo": "x86_64-linux", - "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", - "type": "github" + "lastModified": 1, + "narHash": "sha256-y6J+GW+J+m7D4IZKqQpJbTouzTolxKZgifGHA+qmXLM=", + "path": "./flake/systems.nix", + "type": "path" }, "original": { - "owner": "nix-systems", - "repo": "x86_64-linux", - "type": "github" + "path": "./flake/systems.nix", + "type": "path" } }, "utils": { diff --git a/flake.nix b/flake.nix index 39e98ca..ce2ce0a 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,8 @@ inputs.nixpkgs.follows = "nixpkgs"; }; systems = { - url = "github:nix-systems/x86_64-linux"; # only evaluate for this system + url = "path:./flake/systems.nix"; # evaluate for 32 and 64 Bit Linux + flake = false; }; sops-nix = { url = "github:Mic92/sops-nix"; diff --git a/flake/systems.nix b/flake/systems.nix new file mode 100644 index 0000000..93e8e00 --- /dev/null +++ b/flake/systems.nix @@ -0,0 +1,5 @@ +[ + #"aarch64-linux" I'll uncomment that when needed + "i686-linux" + "x86_64-linux" +] |