mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-02-23 16:37:11 +01:00
auto update and gc settings
This commit is contained in:
parent
4615aad131
commit
f0028ba7a7
|
@ -5,12 +5,16 @@
|
||||||
system = {
|
system = {
|
||||||
stateVersion = "22.11";
|
stateVersion = "22.11";
|
||||||
# enable auto updates
|
# enable auto updates
|
||||||
autoUpgrade.enable = true;
|
autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
dates = "weekly";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "00:30";
|
dates = "monthly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue