system.autoUpgrade does not need --refresh
Although there is `tarball-ttl` which specifies the TTL for the cache, the default is one hour, which is enough for updates. https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-tarball-ttl So `--refresh` is only needed for interactive updates. Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
7ec319bf22
commit
61a5a0b458
|
@ -130,7 +130,6 @@ in
|
|||
|
||||
system.autoUpgrade = {
|
||||
flags = [
|
||||
"--refresh"
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--update-input"
|
||||
|
|
Loading…
Reference in a new issue