about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-02-12 02:13:37 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-02-12 02:13:37 +0900
commit512571a3e9b4a690951db30cc027441452efc4a1 (patch)
treef50421143d422c09acf0d1047383d71f2c4c029e
parent4351e676dd68e4f6dfde81603f448dec4c3cd84b (diff)
downloadnixos-conf-512571a3e9b4a690951db30cc027441452efc4a1.tar.gz
Let axl in
-rw-r--r--configuration.nix7
1 files changed, 6 insertions, 1 deletions
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" ];