nixos/autoUpgrade: add --refresh when using flakes
otherwise the cache might delay updates quite a bit
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user