modules/nixos/common: disable scheduled optimise
This commit is contained in:
parent
574cadf1fc
commit
75188b6bee
2 changed files with 4 additions and 3 deletions
modules
|
@ -19,6 +19,10 @@
|
||||||
inputs.srvos.nixosModules.server
|
inputs.srvos.nixosModules.server
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Hard-link duplicated files
|
||||||
|
nix.settings.auto-optimise-store = true;
|
||||||
|
nix.optimise.automatic = false;
|
||||||
|
|
||||||
# users in trusted group are trusted by the nix-daemon
|
# users in trusted group are trusted by the nix-daemon
|
||||||
nix.settings.trusted-users = [ "@trusted" ];
|
nix.settings.trusted-users = [ "@trusted" ];
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,6 @@ in
|
||||||
|
|
||||||
settings.substituters = [ "https://nix-community.cachix.org" ];
|
settings.substituters = [ "https://nix-community.cachix.org" ];
|
||||||
|
|
||||||
# Hard-link duplicated files
|
|
||||||
settings.auto-optimise-store = pkgs.lib.mkDefault true;
|
|
||||||
|
|
||||||
# auto-free the /nix/store
|
# auto-free the /nix/store
|
||||||
settings.min-free = asGB 10;
|
settings.min-free = asGB 10;
|
||||||
settings.max-free = asGB 50;
|
settings.max-free = asGB 50;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue