Merge pull request #43 from diogox/template

Add NUR support
This commit is contained in:
Timothy DeHerrera 2020-12-27 00:43:53 -07:00 committed by GitHub
commit fd3d0abd05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 3 deletions

View file

@ -62,11 +62,26 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nur": {
"locked": {
"lastModified": 1608983018,
"narHash": "sha256-mhnPEzNTaIdE2zxdDgv6LU5koNyIkzomSerIbYuBepM=",
"owner": "nix-community",
"repo": "NUR",
"rev": "c32c0ee347949d55f34b0762dccaa52a1f73aa83",
"type": "github"
},
"original": {
"id": "nur",
"type": "indirect"
}
},
"root": { "root": {
"inputs": { "inputs": {
"home": "home", "home": "home",
"master": "master", "master": "master",
"nixos": "nixos" "nixos": "nixos",
"nur": "nur"
} }
} }
}, },

View file

@ -8,7 +8,7 @@
home.url = "github:nix-community/home-manager/release-20.09"; home.url = "github:nix-community/home-manager/release-20.09";
}; };
outputs = inputs@{ self, home, nixos, master }: outputs = inputs@{ self, home, nixos, master, nur }:
let let
inherit (builtins) attrNames attrValues readDir; inherit (builtins) attrNames attrValues readDir;
inherit (nixos) lib; inherit (nixos) lib;
@ -20,7 +20,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
externOverlays = [ ]; externOverlays = [ nur.overlay ];
pkgset = pkgset =
let overlays = (attrValues self.overlays) ++ externOverlays; in let overlays = (attrValues self.overlays) ++ externOverlays; in