From 61a5a0b458afa78d2595b0d11737683af833cc2d Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 7 Mar 2024 09:57:13 +0100 Subject: [PATCH] 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 --- modules/nixos/services/base/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/nixos/services/base/default.nix b/modules/nixos/services/base/default.nix index e850ae1..0c5ab18 100644 --- a/modules/nixos/services/base/default.nix +++ b/modules/nixos/services/base/default.nix @@ -130,7 +130,6 @@ in system.autoUpgrade = { flags = [ - "--refresh" "--update-input" "nixpkgs" "--update-input"