diff options
-rw-r--r-- | machines/profpatsch/xmpp-client.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/machines/profpatsch/xmpp-client.nix b/machines/profpatsch/xmpp-client.nix index a5dfdb79..2310e85d 100644 --- a/machines/profpatsch/xmpp-client.nix +++ b/machines/profpatsch/xmpp-client.nix @@ -5,10 +5,10 @@ writeScriptBin "xmpp-client" '' #!/usr/bin/env bash PASS=$(${lib.getBin pass}/bin/pass "${passwordentry}" | head -n1) - # pipe cofnig with password in fifo - TMP=$(mktemp) + # pipe config with password in fifo + TMP="$(mktemp -d)/fifo" mkfifo "$TMP" - sed "s/@PASS@/$PASS/" ${home}/.config/xmpp-client/config > "$TMP" + sed "s/@PASS@/$PASS/" ${home}/.config/xmpp-client/config > "$TMP" & # execute the client with logging enabled |