mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 19:48:34 +03:00
nixos/autoUpgrade: add --refresh when using flakes
otherwise the cache might delay updates quite a bit
This commit is contained in:
parent
edcb325fc1
commit
f40cd1bfe0
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user