Commit f40cd1bf authored by Jörg Thalheim's avatar Jörg Thalheim
Browse files

nixos/autoUpgrade: add --refresh when using flakes

otherwise the cache might delay updates quite a bit
parent edcb325f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";