From a947905b2dd97543c3abdaaed44dddf2ee34ccf4 Mon Sep 17 00:00:00 2001 From: "developing-today[bot]" <5454422+developing-today[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 08:01:35 -0600 Subject: [PATCH] fix(rustdesk): put bws on the rustdesk-password-assert unit PATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The assert oneshot fetches rustdesk.amd-6-password via fleet secrets get, whose durable route from a system-service context is the Bitwarden fallback — which spawns bws. The unit PATH carried only the writeShellScript runtime deps, so the first real activation (gen 537, 2026-11-05) failed all 60 retries with: bws secret list: spawn failed: entity not found. Add path = [ pkgs.bws ]. Refs #5694. --- nixos/hosts/amd-rustdesk.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/hosts/amd-rustdesk.nix b/nixos/hosts/amd-rustdesk.nix index 2a431d5a36..560be632c0 100644 --- a/nixos/hosts/amd-rustdesk.nix +++ b/nixos/hosts/amd-rustdesk.nix @@ -76,6 +76,12 @@ in description = "Re-assert the RustDesk permanent password from the vault"; after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; + # The fetch script's vault route is fleet secrets get's Bitwarden + # fallback, which spawns `bws` (the broker leg is bound to the + # login session by design). Without bws on the unit PATH the + # first real activation (gen 537, 2026-11-05) failed all 60 + # retries with "bws secret list: spawn failed: entity not found". + path = [ pkgs.bws ]; serviceConfig = { Type = "oneshot"; ExecStart = rustdeskPasswordAssert;