Compare commits

..

2 Commits

Author SHA1 Message Date
Wesley Irvin
27e2d62ba7 Merge pull request 'Cleanup Automation' (#8) from auto-cleanup into master
Reviewed-on: #8
2023-06-30 16:52:14 +00:00
Wesley Irvin
9b1e7d405a Cleanup Automation
Added in configuration options to automatically optimize the
nix-store and automatically garbage collect stale references
in the store after 2 weeks.
2023-06-30 12:49:20 -04:00

View File

@@ -104,6 +104,17 @@
'';
};
# Enable automatic optimization of the nix store
nix.settings.auto-optimise-store = true;
# Enable automatic garbage collection on anything
# stale and older than 2 weeks
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
# Setup our ZSH shell.
# First let's absolutely make sure the shell is enabled
programs.zsh.enable = true;