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 = {
|
nix = {
|
||||||
configureBuildUsers = true;
|
configureBuildUsers = true;
|
||||||
gc.interval = if config.chvp.base.nix.slowGc then { Hour = 0; Minute = 0; } else { Minute = 0; };
|
gc.interval = if config.chvp.base.nix.slowGc then { Hour = 0; Minute = 0; } else { Minute = 0; };
|
||||||
|
optimise.interval = { Minute = 30; };
|
||||||
settings.sandbox = true;
|
settings.sandbox = true;
|
||||||
};
|
};
|
||||||
nixpkgs.flake = {
|
nixpkgs.flake = {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
nix.gc.dates = if config.chvp.base.nix.slowGc then "daily" else "hourly";
|
nix.gc.dates = if config.chvp.base.nix.slowGc then "daily" else "hourly";
|
||||||
|
nix.optimise.dates = [ "hourly" ];
|
||||||
programs.command-not-found.enable = false;
|
programs.command-not-found.enable = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,8 +60,8 @@ in
|
||||||
automatic = true;
|
automatic = true;
|
||||||
options = "--delete-older-than 7d";
|
options = "--delete-older-than 7d";
|
||||||
};
|
};
|
||||||
|
optimise.automatic = true;
|
||||||
settings = {
|
settings = {
|
||||||
auto-optimise-store = true;
|
|
||||||
substituters = [
|
substituters = [
|
||||||
"https://cache.nixos.org"
|
"https://cache.nixos.org"
|
||||||
"https://accentor.cachix.org"
|
"https://accentor.cachix.org"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue