nixos/hosts/Legion/configuration.nix
Evie Litherland-Smith 0a83529d12 Revert "Revert "Disable nix autoUpgrade for regular machines""
This reverts commit 3aabae7e6f.

autoUpgrade gets weird when network issues are involved, especially
relevant for laptops...

Yes I know I'm indecisive
2023-12-20 07:49:22 +00:00

17 lines
488 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`).
{ lib, ... }: {
users.mutableUsers = false;
system.autoUpgrade = {
enable = true;
flake = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
dates = "02:30";
allowReboot = true;
rebootWindow = {
lower = "02:00";
upper = "05:00";
};
};
}