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>
12 lines
217 B
Nix
12 lines
217 B
Nix
{ ... }:
|
|
{
|
|
flake.modules.nixos.common-openssh = { ... }: {
|
|
services.openssh = {
|
|
enable = true;
|
|
settings.PermitRootLogin = "no";
|
|
extraConfig = ''
|
|
PrintLastLog no
|
|
'';
|
|
};
|
|
};
|
|
}
|