2023-09-19 00:17:43 +00:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
nix = {
|
2023-10-14 02:20:42 +00:00
|
|
|
### optimiser
|
|
|
|
settings = {
|
|
|
|
auto-optimise-store = true;
|
|
|
|
};
|
2023-09-19 00:17:43 +00:00
|
|
|
|
2023-10-14 02:20:42 +00:00
|
|
|
### auto delete older NixOS builds
|
2023-09-19 00:17:43 +00:00
|
|
|
gc = {
|
|
|
|
automatic = true;
|
|
|
|
dates = "weekly";
|
|
|
|
options = "--delete-older-than 7d";
|
|
|
|
};
|
2023-10-14 02:20:42 +00:00
|
|
|
|
|
|
|
### optimiser
|
2023-09-19 00:17:43 +00:00
|
|
|
optimise = {
|
|
|
|
automatic = true;
|
|
|
|
dates = [ "03:45" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|