Move system for home-manager into a variable
This commit is contained in:
parent
5e51d6380d
commit
2a89f9b32b
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue