hosts: use stable release as nixpkgs

This commit is contained in:
Timothy DeHerrera 2020-12-16 14:47:51 -07:00
parent 23c4a925a6
commit 01fe191210
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
1 changed files with 6 additions and 4 deletions

View File

@ -27,18 +27,20 @@ let
networking.hostName = hostName;
nix.nixPath = let path = toString ../.; in
[
"nixpkgs=${master}"
"nixos=${nixos}"
"nixos-unstable=${master}"
"nixpkgs=${nixos}"
"nixos-config=${path}/configuration.nix"
"nixpkgs-overlays=${path}/overlays"
"home-manager=${home}"
];
nixpkgs = { pkgs = osPkgs; };
nix.registry = {
nixos.flake = nixos;
master.flake = master;
nixflk.flake = self;
nixpkgs.flake = master;
nixpkgs.flake = nixos;
home-manager.flake = home;
};
system.configurationRevision = lib.mkIf (self ? rev) self.rev;