nix-config/modules/openssh/settings.nix

9 lines
155 B
Nix
Raw Permalink Normal View History

2025-07-25 10:33:49 +01:00
{ lib, ... }:
{
flake.modules.nixos.pc.services.openssh.settings = {
PasswordAuthentication = false;
PermitRootLogin = lib.mkForce "no";
};
}