Add automatic cleanup
This commit is contained in:
parent
341fd1057e
commit
06ec8d0e62
1 changed files with 9 additions and 0 deletions
|
|
@ -64,6 +64,15 @@
|
||||||
# Enable the Flakes feature and the accompanying new nix command-line tool
|
# Enable the Flakes feature and the accompanying new nix command-line tool
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
# some nix tidy up stuff
|
||||||
|
nix.settings.auto-optimise-store = true;
|
||||||
|
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
|
||||||
# Enable zeroconf
|
# Enable zeroconf
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue