better autoUpgrade settings

This commit is contained in:
Mohamed Chrayed 2024-08-30 22:04:02 +02:00
parent 4029d0c0b7
commit 9afd546317

View File

@ -3,9 +3,15 @@
system.autoUpgrade = {
enable = true;
dates = "04:00";
persistent = true;
flake = "github:Moe1369/nixos-config#${hostName}";
flags = [
"--update-input" "nixpkgs" "-L" "--commit-lock-file"
"--update-input" "nixpkgs"
"--update-input" "home-manager"
"--update-input" "jovian"
"--update-input" "nix-flatpak"
"-L"
"--commit-lock-file"
];
allowReboot = true;
};