mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
Lower the time to keep for generations
This commit is contained in:
parent
02e7f9837e
commit
4e7f3abfe7
2 changed files with 1 additions and 2 deletions
|
|
@ -36,6 +36,5 @@
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
programs.nh.enable = true;
|
|
||||||
services.auto-cpufreq.enable = true;
|
services.auto-cpufreq.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ in {
|
||||||
programs.nh.clean = lib.mkIf cfg.auto-gc.enable {
|
programs.nh.clean = lib.mkIf cfg.auto-gc.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
dates = "daily";
|
dates = "daily";
|
||||||
extraArgs = "--keep 10 --keep-since 7d";
|
extraArgs = "--keep 10 --keep-since 3d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue