dotfiles/modules/generic/ssh.nix
2026-01-06 03:40:45 +01:00

10 lines
201 B
Nix

{...}: {
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
# TODO: Determine which user to allow!
AllowUsers = ["toph" "root"];
};
};
}