From 9f9c5df7907b0af9508b1f21c753969bf08ef20e Mon Sep 17 00:00:00 2001 From: Erik Simon Date: Sun, 4 Oct 2026 18:49:36 +0200 Subject: [PATCH] feat(terra): give run0 5min to authenticate run0 waits on systemd over D-Bus, and the 25s default call timeout ran out while the polkit dialog was still open. Scoped to an alias so a hung systemctl does not also wait 5min. Co-Authored-By: Claude Opus 5.5 --- hosts/terra/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/terra/configuration.nix b/hosts/terra/configuration.nix index f3dcea3..40ba6c7 100644 --- a/hosts/terra/configuration.nix +++ b/hosts/terra/configuration.nix @@ -88,6 +88,11 @@ in environment.systemPackages = [ unstable.proton-pass-cli ]; + # run0 waits on systemd over D-Bus, whose 25s default call timeout runs out + # while the polkit dialog is still open (slow typing, a vault lookup). + # Scoped to run0 so a hung systemctl doesn't also wait 5min. + programs.zsh.shellAliases.run0 = "SYSTEMD_BUS_TIMEOUT=5min run0"; + # ---- nix-ld: lets generic dynamically-linked Linux binaries run as-is — # needed for editor extensions (Zed/VSCode LSPs, debuggers, etc.) that # download prebuilt binaries not built for NixOS. See