From f16e3852885c86b980f4b5c90ee71d66de36643c Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 29 Apr 2024 09:21:20 -0500 Subject: [PATCH] Enable ssh for host key generation. --- nixos/durincore/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/durincore/configuration.nix b/nixos/durincore/configuration.nix index a332fa3..cec5703 100644 --- a/nixos/durincore/configuration.nix +++ b/nixos/durincore/configuration.nix @@ -128,4 +128,11 @@ }; wantedBy = [ "default.target" ]; }; + + # Enable the OpenSSH daemon. + services.openssh = { + enable = true; + settings.PasswordAuthentication = false; + settings.KbdInteractiveAuthentication = false; + }; }