nixos-config/nixos/services/openssh.nix

15 lines
224 B
Nix

{ config, ... }:
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
AllowUsers = [
"lumin"
"forgejo"
];
};
};
}