flake: Allow unfree

This enables building unfree packages directly from the flake without
having to use `--impure`.
This commit is contained in:
Simon Bruder 2021-08-29 12:09:59 +02:00
parent f28ea2244d
commit 41bf1e1cbf
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -21,7 +21,11 @@
}; };
} // flake-utils.lib.eachDefaultSystem (system: } // flake-utils.lib.eachDefaultSystem (system:
let let
pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; }; pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlay ];
config.allowUnfree = true;
};
lib = pkgs.lib; lib = pkgs.lib;
in in
rec { rec {