From 257f59054d90ef85c0130808d27125cba9badd05 Mon Sep 17 00:00:00 2001 From: Yves Dubromelle Date: Tue, 1 Mar 2022 22:06:12 +0100 Subject: [PATCH] renommage d'options Nix --- configuration/environment.nix | 3 --- configuration/nix-options.nix | 6 +++++- 2 files changed, 5 insertions(+), 4 deletions(-) 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";