already enable the experimental nix command in preparation for nix version 2.4

This commit is contained in:
Trolli Schmittlauch 2021-11-02 04:00:59 +01:00
parent 748e39b738
commit 1c0357f90a

View file

@ -240,11 +240,13 @@ in
# Enable all sysrq functions (useful to recover from some issues):
boot.kernel.sysctl."kernel.sysrq" = 1; # NixOS default: 16 (only the sync command)
# keep build-time deps around for offline-rebuilding
nix.extraOptions = ''
# keep build-time deps around for offline-rebuilding
gc-keep-outputs = true
gc-keep-derivations = true
trusted-users = spiollinux
experimental-features = nix-command
'';
# use all cores for building
nix.buildCores = 0;