nixos-config/modules/auto-update.nix

12 lines
167 B
Nix
Raw Normal View History

2020-12-29 04:05:45 +00:00
{ ... }:
2020-09-18 13:54:09 +00:00
{
2020-09-24 05:45:48 +00:00
system.autoUpgrade = {
enable = true;
allowReboot = true;
};
nix.gc = {
automatic = true;
options = "--delete-older-than 30d";
};
2020-09-18 13:54:09 +00:00
}