My nix-darwin and NixOS config
3
fork

Configure Feed

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

fix: add ssh client

+10 -2
+4 -2
home/programs/ssh.nix
··· 26 26 }; 27 27 }; 28 28 29 - # Linux: Enable SSH agent service via home-manager 29 + # Linux: Enable SSH agent service via systemd user service 30 30 # On macOS, the system handles this automatically 31 - services.ssh-agent.enable = lib.mkIf (!isDarwin) true; 31 + services.ssh-agent = lib.mkIf (!isDarwin) { 32 + enable = true; 33 + }; 32 34 33 35 # Ensure the socket directory exists 34 36 home.file.".ssh/sockets/.keep".text = "";
+5
home/programs/zsh.nix
··· 65 65 # Display system info on new shell 66 66 fastfetch 67 67 68 + # Initialize SSH agent (Linux only) 69 + ${lib.optionalString (!isDarwin) ''if [ -z "$SSH_AUTH_SOCK" ]; then 70 + export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" 71 + fi''} 72 + 68 73 # Initialize Starship prompt 69 74 eval "$(starship init zsh)" 70 75
+1
settings/config/packages.nix
··· 30 30 "tmux" 31 31 32 32 # Network tools 33 + "openssh" # SSH client 33 34 "wget" 34 35 "curl" 35 36