diff --git a/modules/system/upgrades/default.nix b/modules/system/upgrades/default.nix index 1faa22f..4fa70f6 100644 --- a/modules/system/upgrades/default.nix +++ b/modules/system/upgrades/default.nix @@ -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; };