flake/darwin/profiles/core/nix/gc.nix
2023-11-22 10:19:11 +08:00

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