diff --git a/nixos/modules/tasks/auto-upgrade.nix b/nixos/modules/tasks/auto-upgrade.nix index e0ee31f716aa..f5747dda55f4 100644 --- a/nixos/modules/tasks/auto-upgrade.nix +++ b/nixos/modules/tasks/auto-upgrade.nix @@ -181,7 +181,7 @@ in { "nixpkgs=${cfg.channel}/nixexprs.tar.xz" ] else - [ "--flake ${cfg.flake}" ]); + [ "--refresh" "--flake ${cfg.flake}" ]); systemd.services.nixos-upgrade = { description = "NixOS Upgrade";