Move system for home-manager into a variable
This commit is contained in:
parent
5e51d6380d
commit
2a89f9b32b
|
@ -76,18 +76,19 @@
|
||||||
nixosConfigurations = raspiConfigs // pcConfigs;
|
nixosConfigurations = raspiConfigs // pcConfigs;
|
||||||
homeConfigurations =
|
homeConfigurations =
|
||||||
let
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
overlay-unstable = final: prev: {
|
overlay-unstable = final: prev: {
|
||||||
unstable = import inputs.nixpkgs-unstable {
|
unstable = import inputs.nixpkgs-unstable {
|
||||||
system = "x86_64-linux";
|
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
|
inherit system;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
pkgs = import inputs.nixpkgs {
|
pkgs = import inputs.nixpkgs {
|
||||||
system = "x86_64-linux";
|
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
};
|
};
|
||||||
overlays = [ overlay-unstable ];
|
overlays = [ overlay-unstable ];
|
||||||
|
inherit system;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue