nix-config/modules/mixins/openssh.nix

15 lines
209 B
Nix
Raw Normal View History

2025-04-18 23:12:16 +01:00
{ lib, ... }:
{
services.openssh = {
enable = true;
openFirewall = lib.mkForce true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = lib.mkForce "no";
};
};
}