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

View file

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