nix: Don't use auto-optimise-store
This commit is contained in:
parent
a6a0ad760d
commit
40db1da31c
3 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
nix = {
|
||||
configureBuildUsers = true;
|
||||
gc.interval = if config.chvp.base.nix.slowGc then { Hour = 0; Minute = 0; } else { Minute = 0; };
|
||||
optimise.interval = { Minute = 30; };
|
||||
settings.sandbox = true;
|
||||
};
|
||||
nixpkgs.flake = {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
nix.gc.dates = if config.chvp.base.nix.slowGc then "daily" else "hourly";
|
||||
nix.optimise.dates = [ "hourly" ];
|
||||
programs.command-not-found.enable = false;
|
||||
}
|
||||
|
|
|
@ -60,8 +60,8 @@ in
|
|||
automatic = true;
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
optimise.automatic = true;
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
substituters = [
|
||||
"https://cache.nixos.org"
|
||||
"https://accentor.cachix.org"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue