Configuration for my NixOS based systems and Home Manager
fork

Configure Feed

Select the types of activity you want to include in your feed.

FIX: ssh-agent being clobbered by gpg-agent

+6 -9
+3 -8
fish/config.fish
··· 29 29 alias r "cd ~/repos" 30 30 end 31 31 32 - # PATH stuff 32 + # We start the ssh-agent in noah-home.nix, so we'll add the socket to the environment 33 + set -Ux SSH_AUTH_SOCK /var/run/user/(id -u)/ssh-agent 33 34 34 - # Run ssh-agent 35 - #if test -z "(pgrep ssh-agent)" 36 - # eval (ssh-agent -c) > /dev/null # no output 37 - # set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK 38 - # set -Ux SSH_AGENT_PID $SSH_AGENT_PID 39 - # set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK 40 - #end 35 + # PATH stuff 41 36 42 37 if type -q "direnv" 43 38 direnv hook fish | source
+2
noah-home.nix
··· 200 200 ".clj-kondo/" 201 201 ]; 202 202 }; 203 + 203 204 programs.aerc = { 204 205 enable = true; 205 206 package = unstable.aerc; ··· 208 209 programs.ssh = { 209 210 enable = true; 210 211 extraConfig = builtins.readFile ./ssh/extra; 212 + addKeysToAgent = "yes"; 211 213 }; 212 214 213 215 services.ssh-agent.enable = true;
+1 -1
services.nix
··· 5 5 # programs.mtr.enable = true; 6 6 programs.gnupg.agent = { 7 7 enable = true; 8 - enableSSHSupport = true; 8 + enableSSHSupport = false; 9 9 }; 10 10 11 11 # Fish shell, the best