From 512571a3e9b4a690951db30cc027441452efc4a1 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 12 Feb 2023 02:13:37 +0900 Subject: Let axl in --- configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index c06952d..4e7f513 100644 --- a/configuration.nix +++ b/configuration.nix @@ -56,7 +56,7 @@ services.openssh = { enable = true; openFirewall = true; - passwordAuthentication = false; + settings.passwordAuthentication = false; ports = [ 2211 ]; }; @@ -69,6 +69,11 @@ time.timeZone = "UTC"; users.users = { + axl = { + isNormalUser = true; + openssh.authorizedKeys.keyFiles = [ "/etc/ssh/axl.pub" ]; + }; + ckie = { isNormalUser = true; openssh.authorizedKeys.keyFiles = [ "/etc/ssh/ckie.pub" ]; -- cgit 1.4.1