From 2a3d9e9be87e92659814cec6c8177d11964ceff0 Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Tue, 8 Sep 2026 12:20:05 +0200 Subject: [PATCH] Don't enable SSH server by default, add TD-required SSH security options --- common.nix | 1 - ruysch.nix | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index 972a475..276ec88 100644 --- a/common.nix +++ b/common.nix @@ -221,7 +221,6 @@ fwupd.enable = true; openssh = { - enable = true; settings = { PasswordAuthentication = false; KbdInteractiveAuthentication = false; diff --git a/ruysch.nix b/ruysch.nix index 88a6430..d537756 100644 --- a/ruysch.nix +++ b/ruysch.nix @@ -175,6 +175,10 @@ ssh.extraConfig = '' Host git.service.d11n.nl Port 258 + + # TODO: Check if we can specify this in an actual config item. + VerifyHostKeyDNS yes + ForwardAgent no ''; direnv = {