nixos-config/modules/system/upgrades/default.nix

13 lines
250 B
Nix
Raw Normal View History

2024-08-24 11:13:25 +02:00
{ hostName, ... }:
2024-08-13 19:56:30 +02:00
{
system.autoUpgrade = {
enable = true;
dates = "04:00";
2024-08-24 11:13:25 +02:00
flake = "github:Moe1369/nixos-config#${hostName}";
2024-08-13 19:56:30 +02:00
flags = [
2024-08-24 11:31:05 +02:00
"--update-input" "nixpkgs" "-L" "--commit-lock-file"
2024-08-13 19:56:30 +02:00
];
allowReboot = true;
};
}