Unverified Commit a8e2b007 authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

nixos/autoUpgrade: add --refresh when using flakes (#337436)

parents 0fe41655 f40cd1bf
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";