already enable the experimental nix command in preparation for nix version 2.4
This commit is contained in:
parent
748e39b738
commit
1c0357f90a
|
@ -240,11 +240,13 @@ in
|
||||||
# Enable all sysrq functions (useful to recover from some issues):
|
# Enable all sysrq functions (useful to recover from some issues):
|
||||||
boot.kernel.sysctl."kernel.sysrq" = 1; # NixOS default: 16 (only the sync command)
|
boot.kernel.sysctl."kernel.sysrq" = 1; # NixOS default: 16 (only the sync command)
|
||||||
|
|
||||||
# keep build-time deps around for offline-rebuilding
|
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
|
# keep build-time deps around for offline-rebuilding
|
||||||
gc-keep-outputs = true
|
gc-keep-outputs = true
|
||||||
gc-keep-derivations = true
|
gc-keep-derivations = true
|
||||||
|
|
||||||
trusted-users = spiollinux
|
trusted-users = spiollinux
|
||||||
|
experimental-features = nix-command
|
||||||
'';
|
'';
|
||||||
# use all cores for building
|
# use all cores for building
|
||||||
nix.buildCores = 0;
|
nix.buildCores = 0;
|
||||||
|
|
Loading…
Reference in a new issue