nix-config/aspects/common/openssh.nix
William 0f193778c2 add aspects/common/ NixOS modules
Migrates common NixOS configuration to dendritic aspect pattern:
boot, console, firewall, locale, nix, openssh, programs, security,
services, tailscale, users

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 22:36:22 -03:00

12 lines
217 B
Nix

{ ... }:
{
flake.modules.nixos.common-openssh = { ... }: {
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";
extraConfig = ''
PrintLastLog no
'';
};
};
}