nixos/autoUpgrade: add --refresh when using flakes (#337436)

This commit is contained in:
Masum Reza
2024-08-26 20:16:03 +05:30
committed by GitHub
+1 -1
View File
@@ -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";