nixos-config/system/set-updates.nix
2024-08-05 18:55:20 +02:00

13 lines
208 B
Nix

{ ... }:
{
system.autoUpgrade = {
enable = true;
dates = "04:00";
flake = "../flake.nix";
flags = [
"--update-input" "nixpkgs" "--commit-lock-file"
];
allowReboot = true;
};
}