flake/darwin/nix/gc.nix

13 lines
226 B
Nix
Raw Normal View History

{...}: {
2023-10-14 02:20:42 +00:00
nix = {
### Auto hard linking
settings.auto-optimise-store = true;
2023-10-14 02:20:42 +00:00
### Automatically delete older NixOS builds
2023-10-14 02:20:42 +00:00
gc = {
automatic = true;
options = "--delete-older-than 7d";
};
};
}