fix: small ssh-proxy fixes

This commit is contained in:
fufsob committed 2026-09-08 19:41:58 +00:00
1 parent 7a106326ea
commit ea7916dffb
4 files changed
+61 -6

No files matched your search

+5
View File
@@ -20,6 +20,7 @@ let
user = "root";
host = "ssh.example.com";
asOutbound = true;
serviceUser = "proxy";
identityFile = "/run/secrets/ssh-key";
knownHostsFile = "/run/secrets/ssh-known-hosts";
extraArgs = [
@@ -245,6 +246,10 @@ let
assert pkgs.lib.hasInfix "ServerAliveInterval=30" sshStartScript;
true
)
(
assert sshService.serviceConfig.User == "proxy";
true
)
(
assert !(sshService.serviceConfig ? SocketMark);
true