14 lines
241 B
Nix
14 lines
241 B
Nix
{ ... }:
|
|
{
|
|
flake.modules.nixos.common-openssh =
|
|
{ ... }:
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
settings.PermitRootLogin = "no";
|
|
extraConfig = ''
|
|
PrintLastLog no
|
|
'';
|
|
};
|
|
};
|
|
}
|