Files
Olympus/modules/features/openssh.nix
2026-04-22 12:30:34 -05:00

20 lines
455 B
Nix

{ ... }: {
flake.nixosModules.openssh = { config, lib, ... }: {
config = {
services.openssh = {
enable = true;
openFirewall = lib.mkDefault true;
settings = {
PermitRootLogin = lib.mkForce "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
};
};
}