Better autoupgrade options

Pulls flake from git. No local repo needed.
This commit is contained in:
Mohamed C. 2024-08-06 20:31:04 +02:00 committed by GitHub
parent 8d9105bf4b
commit a3f60c01fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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