diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 08c4843..fd69b26 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -52,6 +52,7 @@ root = { openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINWtje7dGqyrBY7PLq6DANvUR6yfungQNsXGkTO6PP6/ noa@NoasPCArch" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBFemc4Pzp7I0y8FHxgRO/c/ReBmXuqXR6CWqbhiQ+0t noa@Noas_flaptop" ]; }; noa = { @@ -59,6 +60,7 @@ extraGroups = [ "networkmanager" "wheel" "docker" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINWtje7dGqyrBY7PLq6DANvUR6yfungQNsXGkTO6PP6/ noa@NoasPCArch" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBFemc4Pzp7I0y8FHxgRO/c/ReBmXuqXR6CWqbhiQ+0t noa@Noas_flaptop" ]; hashedPassword = "$6$rounds=512400$g/s4dcRttXi4ux6c$Z6pKnhJXcWxv0TBSMtvJu5.piETdUBSgBVN7oDPKiQV.lbTYz1r.0XQLwMYxzcvaaX0DL6Iw/SEUTiC2M50wC/"; }; @@ -85,6 +87,8 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; + services.openssh.settings.passwordAuthentication = false; + services.openssh.settings.KbdInteractiveAuthentication = false; programs.zsh.enable = true; home-manager = {