base: centralize openssh settings

This commit is contained in:
Antoine Martin 2022-11-14 23:46:17 +01:00
parent d8573cad9e
commit 733f46d70a
5 changed files with 10 additions and 14 deletions

View file

@ -8,6 +8,14 @@
bandwhich.enable = true;
};
services.openssh = {
passwordAuthentication = false;
permitRootLogin = "no";
extraConfig = ''
StreamLocalBindUnlink yes
'';
};
environment.systemPackages = builtins.attrValues {
inherit
(pkgs)