base: centralize openssh settings
This commit is contained in:
parent
d8573cad9e
commit
733f46d70a
5 changed files with 10 additions and 14 deletions
|
|
@ -8,6 +8,14 @@
|
|||
bandwhich.enable = true;
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "no";
|
||||
extraConfig = ''
|
||||
StreamLocalBindUnlink yes
|
||||
'';
|
||||
};
|
||||
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue