summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-07-05 15:27:44 +0200
committermakefu <github@syntax-fehler.de>2023-07-05 15:27:44 +0200
commit4940648b348f157066287aff421ac34e4a45d1db (patch)
treefd1ecc170af9b77074aac69a729021eaea7d0a04
parenteeef06869d9dc472321ec72d790e157038771970 (diff)
flakes: update nixpkgs
-rw-r--r--flake.lock6
-rw-r--r--flake.nix5
2 files changed, 6 insertions, 5 deletions
diff --git a/flake.lock b/flake.lock
index 88149dfa7..fc60cdba2 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 dff071852..668f956a4 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 {