ssh-agent + port fix

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-10-07 17:31:27 +02:00
parent 98c0a26209
commit ffddb4773b

View File

@@ -7,7 +7,7 @@
host = name;
hostname = "ssh.${hyper.domain}";
user = hyper.user;
port = secrets.ssh.port;
port = 50022;
identityFile = "${hyper.home}/vault/ssh/nxace-nx2-${hyper.host}";
};
in {
@@ -23,7 +23,13 @@
};
home.packages = with pkgs; [ sshfs ];
services.gpg-agent = let
services = {
ssh-agent = {
enable = true;
# socket = "ssh-agent"; # suffix to $XDG_RUNTIME_DIR
# package = pkgs.openssh;
};
gpg-agent = let
min2sec = min: (min * 60);
in {
enable = false;
@@ -43,4 +49,5 @@
allow-loopback-pinentry
'';
};
};
}