We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 176b623 commit 6fa79e3Copy full SHA for 6fa79e3
machines/vm/shared.nix
@@ -17,10 +17,17 @@
17
# Allow unfree packages.
18
nixpkgs.config.allowUnfree = true;
19
20
- # Auto garbage collector.
21
- nix.gc = {
22
- automatic = true;
23
- options = "--delete-older-than 14d";
+ # Auto garbage collector and storage optimizer.
+ nix = {
+ gc = {
+ automatic = true;
24
+ dates = "Fri *-*-* 19:00:00";
25
+ options = "--delete-older-than 7d";
26
+ };
27
+ optimise = {
28
29
+ dates = [ "Fri *-*-* 19:00:00" ];
30
31
};
32
33
# Enable new nix cli and flakes.
0 commit comments