Move system for home-manager into a variable

This commit is contained in:
Andreas Zweili 2024-04-09 20:21:58 +02:00
parent 5e51d6380d
commit 2a89f9b32b
1 changed files with 3 additions and 2 deletions

View File

@ -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
{