nixos-config/nixos/services/openssh.nix

15 lines
224 B
Nix
Raw Normal View History

2024-05-10 18:08:37 +05:00
{ config, ... }:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
AllowUsers = [
"lumin"
"forgejo"
];
};
};
}