System/modules/autoupdate.nix

14 lines
261 B
Nix
Raw Normal View History

2022-05-13 20:28:07 -04:00
{ config, lib, pkgs, ... }:
{
# Autoupdate the system
system.autoUpgrade = {
enable = true;
allowReboot = true;
# Update from the flake
flake = "github:nathans-flakes/system";
# Attempt to update daily at 2AM
dates = "2:00";
};
}