flake/nixos/security/security.nix

16 lines
239 B
Nix
Raw Normal View History

2023-09-19 00:17:43 +00:00
{ ... }:
{
security = {
apparmor.enable = true;
sudo.execWheelOnly = true;
};
boot.loader.systemd-boot.editor = false;
services.openssh.settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
}