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

12 lines
222 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";
};
};
}