aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--home/nipsy/common/core/zsh/zshrc7
-rw-r--r--hosts/arrakis/services.nix3
2 files changed, 9 insertions, 1 deletions
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;
};
};