generation 500 25.11.20250714.62e0f05

This commit is contained in:
2025-08-24 04:25:29 -04:00
parent 6478b8be2d
commit e94a3e1656
6 changed files with 44 additions and 6 deletions

19
extras/ssh.nix Normal file
View File

@@ -0,0 +1,19 @@
{
config,
pkgs,
...
}: {
services.openssh.enable = true;
# Disable password login for security
services.openssh.settings.PasswordAuthentication = false;
services.openssh.settings.PermitRootLogin = "no";
# Add your authorized key for a specific user
users.users.synchronous = {
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEw4Uqg9UBakoOpS4nVGE3ePKHnst0+02lFN04n2IyKb ginesin.j@northeastern.edu"
];
};
}