ssh-agent + port fix
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
host = name;
|
host = name;
|
||||||
hostname = "ssh.${hyper.domain}";
|
hostname = "ssh.${hyper.domain}";
|
||||||
user = hyper.user;
|
user = hyper.user;
|
||||||
port = secrets.ssh.port;
|
port = 50022;
|
||||||
identityFile = "${hyper.home}/vault/ssh/nxace-nx2-${hyper.host}";
|
identityFile = "${hyper.home}/vault/ssh/nxace-nx2-${hyper.host}";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
@@ -23,7 +23,13 @@
|
|||||||
};
|
};
|
||||||
home.packages = with pkgs; [ sshfs ];
|
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);
|
min2sec = min: (min * 60);
|
||||||
in {
|
in {
|
||||||
enable = false;
|
enable = false;
|
||||||
@@ -43,4 +49,5 @@
|
|||||||
allow-loopback-pinentry
|
allow-loopback-pinentry
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user