2024-02-26 08:12:26 +00:00
|
|
|
{config, ...}: {
|
2023-09-24 12:05:19 +01:00
|
|
|
users.mutableUsers = false;
|
2023-06-22 09:34:05 +01:00
|
|
|
system.autoUpgrade = {
|
2024-03-08 08:03:03 +00:00
|
|
|
enable = true;
|
2024-02-26 08:12:26 +00:00
|
|
|
flake = "git+${config.nix.registry.nixos.to.url}";
|
2024-03-08 08:03:03 +00:00
|
|
|
flags = [
|
|
|
|
"--update-input"
|
|
|
|
"nixpkgs"
|
|
|
|
"--no-write-lock-file"
|
|
|
|
"-L" # print build logs
|
|
|
|
];
|
|
|
|
dates = "02:00";
|
2024-02-17 13:25:51 +00:00
|
|
|
randomizedDelaySec = "15min";
|
2023-12-20 07:49:22 +00:00
|
|
|
allowReboot = true;
|
2023-06-22 09:34:05 +01:00
|
|
|
rebootWindow = {
|
2023-12-08 06:26:53 +00:00
|
|
|
lower = "02:00";
|
2023-06-22 09:34:05 +01:00
|
|
|
upper = "05:00";
|
|
|
|
};
|
|
|
|
};
|
2023-06-22 09:03:42 +01:00
|
|
|
}
|