nixos-config/system/set-updates.nix
Mohamed C. a3f60c01fb
Better autoupgrade options
Pulls flake from git. No local repo needed.
2024-08-06 20:31:04 +02:00

13 lines
240 B
Nix

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