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
commit a8e2b007c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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";