mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:48:12 +09:00
16 lines
265 B
Nix
16 lines
265 B
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
settings = {
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = false;
|
|
KbdInteractiveAuthentication = false;
|
|
PubkeyAuthentication = "yes";
|
|
};
|
|
};
|
|
|
|
}
|