From 9c3a49f82a7d1ae9274bd172b6c818c1e0878237 Mon Sep 17 00:00:00 2001 From: joy Date: Thu, 20 Jun 2024 14:37:32 +0200 Subject: [PATCH] ssh --- modules/ssh/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 modules/ssh/default.nix diff --git a/modules/ssh/default.nix b/modules/ssh/default.nix new file mode 100644 index 0000000..54ceb84 --- /dev/null +++ b/modules/ssh/default.nix @@ -0,0 +1,9 @@ +{ config, inputs, pkgs, ... }: + +{ +services.openssh = { + enable = true; + settings.PasswordAuthentication = false; + settings.KbdInteractiveAuthentication = false; +}; +}