Add NUR support

This commit is contained in:
Diogo Xavier 2020-12-25 22:37:51 +00:00
parent e7ce2fb21b
commit 15003e3de9
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