flake/darwin/profiles/common/core/nix/gc.nix
2024-01-16 10:02:44 +08:00

12 lines
219 B
Nix
Executable file

{
nix = {
### Auto hard linking
settings.auto-optimise-store = true;
### Automatically delete older NixOS builds
gc = {
automatic = true;
options = "--delete-older-than 7d";
};
};
}