From 4940648b348f157066287aff421ac34e4a45d1db Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 5 Jul 2023 15:27:44 +0200 Subject: flakes: update nixpkgs --- flake.lock | 6 +++--- flake.nix | 5 +++-- 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 { -- cgit v1.2.3