hosts: use stable release as nixpkgs
This commit is contained in:
parent
23c4a925a6
commit
01fe191210
1 changed files with 6 additions and 4 deletions
|
@ -27,18 +27,20 @@ let
|
||||||
networking.hostName = hostName;
|
networking.hostName = hostName;
|
||||||
nix.nixPath = let path = toString ../.; in
|
nix.nixPath = let path = toString ../.; in
|
||||||
[
|
[
|
||||||
"nixpkgs=${master}"
|
"nixos-unstable=${master}"
|
||||||
"nixos=${nixos}"
|
"nixpkgs=${nixos}"
|
||||||
"nixos-config=${path}/configuration.nix"
|
"nixos-config=${path}/configuration.nix"
|
||||||
"nixpkgs-overlays=${path}/overlays"
|
"nixpkgs-overlays=${path}/overlays"
|
||||||
|
"home-manager=${home}"
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = { pkgs = osPkgs; };
|
nixpkgs = { pkgs = osPkgs; };
|
||||||
|
|
||||||
nix.registry = {
|
nix.registry = {
|
||||||
nixos.flake = nixos;
|
master.flake = master;
|
||||||
nixflk.flake = self;
|
nixflk.flake = self;
|
||||||
nixpkgs.flake = master;
|
nixpkgs.flake = nixos;
|
||||||
|
home-manager.flake = home;
|
||||||
};
|
};
|
||||||
|
|
||||||
system.configurationRevision = lib.mkIf (self ? rev) self.rev;
|
system.configurationRevision = lib.mkIf (self ? rev) self.rev;
|
||||||
|
|
Loading…
Reference in a new issue