nixos-config/modules/auto-update.nix
Sean Buckley ca2edd4ae8 add files
2020-09-18 09:54:09 -04:00

11 lines
205 B
Nix

{ config, pkgs, ... }:
{
system.autoUpgrade = {
enable = true;
allowReboot = true;
};
nix.gc = {
automatic = true;
options = "--delete-older-than 30d";
};
}