From 3d379840141399eaa9c44f72e0ac48266a3edf40 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 4 Sep 2025 11:51:37 -0400 Subject: Disable dbus connection attempt during deployment When I deploy, I get an error like this: Error: Failed to open dbus connection Caused by: Failed to connect to socket /run/user/1000/bus: Connection refused According to Claude, this is because dbus is trying to do stuff while I'm running the `systemd-run` command, but that loses my user context so dbus errors out, and I can disable dbus by setting this variable to nothing. I guess we'll see if it works! --- Omni/Ide/push.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Omni/Ide/push.sh b/Omni/Ide/push.sh index 5c22e07..ce1df3d 100755 --- a/Omni/Ide/push.sh +++ b/Omni/Ide/push.sh @@ -19,6 +19,7 @@ ssh "$USER"@"$where" sudo nix-env --profile /nix/var/nix/profiles/system --set " switch_cmd=( systemd-run -E LOCALE_ARCHIVE + --setenv=XDG_RUNTIME_DIR="" --collect --no-ask-password --pipe -- cgit v1.2.3