From 2a89f9b32b4c614ef8f558f671818a9c61a30704 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 9 Apr 2024 20:21:58 +0200 Subject: [PATCH] Move system for home-manager into a variable --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 7c085f7..71d675c 100644 --- a/flake.nix +++ b/flake.nix @@ -76,18 +76,19 @@ nixosConfigurations = raspiConfigs // pcConfigs; homeConfigurations = let + system = "x86_64-linux"; overlay-unstable = final: prev: { unstable = import inputs.nixpkgs-unstable { - system = "x86_64-linux"; config.allowUnfree = true; + inherit system; }; }; pkgs = import inputs.nixpkgs { - system = "x86_64-linux"; config = { allowUnfree = true; }; overlays = [ overlay-unstable ]; + inherit system; }; in {