From feac828d03dede198e20bf669c9669131aa752ae Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 4 Jun 2025 10:19:02 -0700 Subject: Enable more remote gpg-agent functionality --- home/nipsy/common/core/zsh/zshrc | 7 +++++++ hosts/arrakis/services.nix | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/home/nipsy/common/core/zsh/zshrc b/home/nipsy/common/core/zsh/zshrc index 543450d..cca7d6f 100644 --- a/home/nipsy/common/core/zsh/zshrc +++ b/home/nipsy/common/core/zsh/zshrc @@ -1,5 +1,12 @@ umask 022 +# remote gpg-agent handling +if [[ ${HOST} == "arrakis.bitgnome.net" ]]; then + if [[ ! -d /run/user/1000/gnupg ]]; then + gpgconf --create-socketdir + fi +fi + eval $(dircolors) # set SWAYSOCK correctly diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index a58ec55..2408f2c 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -104,8 +104,9 @@ openFirewall = true; settings = { - PasswordAuthentication = false; KbdInteractiveAuthentication = false; + PasswordAuthentication = false; + StreamLocalBindUnlink = true; }; }; -- cgit v1.2.3