From dbdfe5741d821164e7b49414750672d7b4b5c6d7 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Thu, 30 Nov 2023 22:13:12 -0800 Subject: [PATCH] testing non root user --- configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configuration.nix b/configuration.nix index 362eeaa..231bed7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -141,6 +141,14 @@ torsocks.enable = true; }; + services.openssh = { + enable = true; + settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + PermitRootLogin = "yes"; + }; + }; networking.firewall.enable = true;