16 lines
231 B
Nix
16 lines
231 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# Enable the agent
|
|
services.ssh-agent = {
|
|
enable = true;
|
|
};
|
|
# Setup fish init
|
|
programs.fish.shellInit = ''
|
|
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent
|
|
ssh-add
|
|
'';
|
|
}
|