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