daemon
This commit is contained in:
parent
c9e3d33261
commit
02f2146ac0
|
@ -1,10 +1,11 @@
|
||||||
{ inputs, config, lib, ... }: {
|
{ inputs, config, lib, ... }: {
|
||||||
nix = {
|
nix = {
|
||||||
|
package = pkgs.nixFlakes;
|
||||||
|
useDaemon = true;
|
||||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
extraOptions = lib.optionalString
|
extraOptions = ''
|
||||||
(lib.versionAtLeast config.nix.package.version "2.4") ''
|
experimental-features = nix-command flakes
|
||||||
experimental-features = nix-command flakes
|
'';
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config = { allowUnfree = true; };
|
config = { allowUnfree = true; };
|
||||||
|
|
Loading…
Reference in a new issue