8 lines
209 B
Nix
8 lines
209 B
Nix
|
{ ... }: {
|
||
|
# Enable SSH server with exclusively key-based auth
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
settings.PasswordAuthentication = false;
|
||
|
settings.KbdInteractiveAuthentication = false;
|
||
|
};
|
||
|
}
|