Merge pull request 'Add garabage collection' (#7) from feature/garbage-collection into master
Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
12
systems/modules/garbage-collection.nix
Normal file
12
systems/modules/garbage-collection.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
settings.auto-optimise-store = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user