diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-12 02:13:37 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-12 02:13:37 +0900 |
commit | 512571a3e9b4a690951db30cc027441452efc4a1 (patch) | |
tree | f50421143d422c09acf0d1047383d71f2c4c029e | |
parent | 4351e676dd68e4f6dfde81603f448dec4c3cd84b (diff) | |
download | nixos-conf-512571a3e9b4a690951db30cc027441452efc4a1.tar.gz |
Let axl in
-rw-r--r-- | configuration.nix | 7 |
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" ]; |