nixos/autoUpgrade: add --refresh when using flakes (#337436)
This commit is contained in:
commit
a8e2b007c5
@ -181,7 +181,7 @@ in {
|
|||||||
"nixpkgs=${cfg.channel}/nixexprs.tar.xz"
|
"nixpkgs=${cfg.channel}/nixexprs.tar.xz"
|
||||||
]
|
]
|
||||||
else
|
else
|
||||||
[ "--flake ${cfg.flake}" ]);
|
[ "--refresh" "--flake ${cfg.flake}" ]);
|
||||||
|
|
||||||
systemd.services.nixos-upgrade = {
|
systemd.services.nixos-upgrade = {
|
||||||
description = "NixOS Upgrade";
|
description = "NixOS Upgrade";
|
||||||
|
Loading…
Reference in New Issue
Block a user