aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-05-13 16:15:33 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-05-13 16:17:07 +0200
commit5cbd2fb6f8dcd5aff77a31b7e4ffdd3e735dddcd (patch)
tree15965cb8441820ce7b2be4539509a417288950fa
parent16874718bad88d7dcc85caa975c5cbf573ff0a5e (diff)
Added bash initExtra to configure ssh and gpg same as zsh
-rw-r--r--home/mun/programs/zsh.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/home/mun/programs/zsh.nix b/home/mun/programs/zsh.nix
index 4c27d9f..816ea1b 100644
--- a/home/mun/programs/zsh.nix
+++ b/home/mun/programs/zsh.nix
@@ -22,9 +22,11 @@
export GPG_TTY=$(tty)
SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket
'';
-
+ };
+ programs.bash = {
initExtra = ''
- export SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket
+ export GPG_TTY=$(tty)
+ SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket
'';
};
}