diff --git a/configuration/environment.nix b/configuration/environment.nix index aa6ba87..83765ed 100644 --- a/configuration/environment.nix +++ b/configuration/environment.nix @@ -8,9 +8,6 @@ let in { - # Nombre de process d'installation en parrallèle effectués par Nix - nix.buildCores = 0; - # The NixOS release to be compatible with for stateful data such as databases. system.stateVersion = "19.09"; diff --git a/configuration/nix-options.nix b/configuration/nix-options.nix index 52971c4..b44530a 100644 --- a/configuration/nix-options.nix +++ b/configuration/nix-options.nix @@ -13,7 +13,11 @@ in system.autoUpgrade.enable = flags.auto-upgrade; nix = { - autoOptimiseStore = true; + settings = { + auto-optimise-store = true; + # Nombre de process d'installation en parrallèle effectués par Nix + cores = 0; + }; gc = { automatic = true; dates = "daily";