diff --git a/flake.lock b/flake.lock index 88149df..fc60cdb 100644 --- a/flake.lock +++ b/flake.lock @@ -134,11 +134,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1686331006, - "narHash": "sha256-hElRDWUNG655aqF0awu+h5cmDN+I/dQcChRt2tGuGGU=", + "lastModified": 1688177999, + "narHash": "sha256-JZ5nk90Ym79b4J593xYb0mI79QxU0efJLuCU3sXDalQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "85bcb95aa83be667e562e781e9d186c57a07d757", + "rev": "0de86059128947b2438995450f2c2ca08cc783d5", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index dff0718..668f956 100644 --- a/flake.nix +++ b/flake.nix @@ -43,8 +43,9 @@ (lib.attrNames (builtins.readDir ./3modules)))); overlays.default = import ./5pkgs/default.nix; - nixosConfigurations = lib.genAttrs ["x" "tsp" "wbob" "omo" "gum"] (host: nixpkgs.lib.nixosSystem rec { - system = "x86_64-linux"; + nixosConfigurations = lib.genAttrs ["x" "cake" "tsp" "wbob" "omo" "gum"] (host: nixpkgs.lib.nixosSystem rec { + # TODO inject the system somewhere else + system = if host == "cake" then "aarch64-linux" else "x86_64-linux"; specialArgs = { inherit (inputs) nixos-hardware self stockholm nixpkgs; pkgs = import nixpkgs {