nixos/hosts/Legion/configuration.nix
Evie Litherland-Smith 78f7af88a8 Move autoUpgrade back to flake.nix but use flake output instead of URL
Set autoUpgrade flake to current flake outpath but keeping nixpkgs
update, means things won't automatically be rolled back if there's no
internet connection. Keep using remote URL for server though to keep
unattended updates.
2024-02-26 08:12:26 +00:00

13 lines
266 B
Nix

{config, ...}: {
users.mutableUsers = false;
system.autoUpgrade = {
flake = "git+${config.nix.registry.nixos.to.url}";
randomizedDelaySec = "15min";
allowReboot = true;
rebootWindow = {
lower = "02:00";
upper = "05:00";
};
};
}