nix: use same nixpkgs flake for imperative commands as for build
This commit is contained in:
parent
98b43911f0
commit
efa2ce3940
|
@ -2,6 +2,11 @@
|
|||
|
||||
{
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
nixpkgs.flake = {
|
||||
source = lib.cleanSource pkgs.path;
|
||||
setNixPath = true;
|
||||
setFlakeRegistry = true;
|
||||
};
|
||||
nix.nixPath = [ "nixpkgs=flake:nixpkgs" ];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue