nixos-config/modules/system/upgrades/default.nix
2024-08-24 11:31:05 +02:00

13 lines
250 B
Nix

{ hostName, ... }:
{
system.autoUpgrade = {
enable = true;
dates = "04:00";
flake = "github:Moe1369/nixos-config#${hostName}";
flags = [
"--update-input" "nixpkgs" "-L" "--commit-lock-file"
];
allowReboot = true;
};
}