nix-config/modules2/openssh/settings.nix
Oliver Davies ce1fa163fd
All checks were successful
/ check (push) Successful in 1m34s
Move openssh configuration
2025-07-25 10:33:49 +01:00

8 lines
155 B
Nix

{ lib, ... }:
{
flake.modules.nixos.pc.services.openssh.settings = {
PasswordAuthentication = false;
PermitRootLogin = lib.mkForce "no";
};
}