add boris keys, turn off root login

This commit is contained in:
Anish Lakhwara
2025-10-18 00:45:07 -07:00
parent a1ef61c90d
commit 3571def80a
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -47,6 +47,7 @@
description = "Boris Mann";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII54a7T+KQOoGhFe34LSTE5b3FmIwcDcAbYXgWGY3sax" ];
};
users.users.anish = {
@@ -88,9 +89,6 @@
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "yes";
};
};
# Open ports in the firewall.