summaryrefslogtreecommitdiff
path: root/Omni/Ide
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-09-04 11:51:37 -0400
committerBen Sima <ben@bsima.me>2025-09-04 11:56:38 -0400
commit3d379840141399eaa9c44f72e0ac48266a3edf40 (patch)
treed131cfb4e66108799a5a01dafd312dfdb6acd918 /Omni/Ide
parentddad1f4c648ae4e1f1197949c2ad864f422ad25c (diff)
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!
Diffstat (limited to 'Omni/Ide')
-rwxr-xr-xOmni/Ide/push.sh1
1 files changed, 1 insertions, 0 deletions
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