From e514eb62c5a6fe51c2ccd21dcf0fb2e82f7e06dc Mon Sep 17 00:00:00 2001 From: rope Date: Thu, 13 Aug 2026 13:53:01 +0100 Subject: [PATCH] add update2: local eval+build fallback on the clients --- common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.nix b/common.nix index 6fafc38..504f2e7 100644 --- a/common.nix +++ b/common.nix @@ -145,6 +145,9 @@ in if config.networking.hostName == "FredOS-Mediaserver" then localUpdate else remoteUpdate; + # Fallback for when the server is down or the alias itself changed and the + # live generation still has the old one: eval and build right here. + update2 = localUpdate; clean = "sudo nix-collect-garbage -d"; # Throw away the VM's disk first so every run is a real first boot — # greeter, Plasma first-run, the lot. Builds into ./result in $PWD.