nix-config/modules/openssh/settings.nix
Oliver Davies 703bf836de
All checks were successful
/ check (push) Successful in 55s
Rename modules directory
2025-08-18 11:35:07 +01:00

8 lines
155 B
Nix

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