flake: add NUR overlay

This commit is contained in:
Bruno BELANYI 2021-02-05 16:43:30 +01:00
parent 49779cac21
commit 4d68a706a3
2 changed files with 20 additions and 2 deletions

View file

@ -2,9 +2,10 @@
description = "Nixos configuration with flakes";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
};
outputs = { self, nixpkgs }: {
outputs = { self, nixpkgs, nur }: {
nixosConfigurations.porthos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules =
@ -17,6 +18,7 @@
then self.rev
else throw "Refusing to build from a dirty Git tree!";
})
{ nixpkgs.overlays = [ nur.overlay ]; }
./configuration.nix
];
};