nixos/hosts/Legion/configuration.nix
Evie Litherland-Smith 9e81dac00a Abstract autoUpgrade to separate file
Enable autoUpgrade for desktops (as well as server of course)
2024-01-07 12:44:16 +00:00

15 lines
396 B
Nix

# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).
{ ... }: {
users.mutableUsers = false;
system.autoUpgrade = {
dates = "02:30";
allowReboot = true;
rebootWindow = {
lower = "02:00";
upper = "05:00";
};
};
}