flake/darwin/profiles/core/nix/gc.nix

13 lines
222 B
Nix
Raw Normal View History

2023-12-02 10:42:59 +00:00
_: {
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";
};
};
}