From 5f5e5f8d4ded196ea8f9baf90617bc301a8c5c63 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 16 Feb 2026 20:27:45 +0100 Subject: [PATCH] test: see if this fixes auto upgrades --- modules/common/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/common/default.nix b/modules/common/default.nix index b2a34da..3f62336 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -1,3 +1,6 @@ +let + flakePath = "/home/h/nix"; +in { inputs, outputs, @@ -41,12 +44,12 @@ system.autoUpgrade = { enable = true; - flake = inputs.self.outPath; - operation = "switch"; + flake = flakePath; flags = [ "--recreate-lock-file" "--commit-lock-file" "--print-build-logs" + "--refresh" ]; dates = "05:00"; randomizedDelaySec = "45min";