Add openssh config
This commit is contained in:
parent
59d2cedafc
commit
81068577fa
1 changed files with 12 additions and 0 deletions
|
|
@ -460,6 +460,18 @@ with lib;
|
||||||
|
|
||||||
documentation.dev.enable = true;
|
documentation.dev.enable = true;
|
||||||
|
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
settings = {
|
||||||
|
PasswordAuthentication = true;
|
||||||
|
KbdInteractiveAuthentication = false;
|
||||||
|
PermitRootLogin = "no";
|
||||||
|
AllowUsers = [ "tsi" ];
|
||||||
|
MaxAuthTries = 30;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.power-profiles-daemon.enable = true;
|
services.power-profiles-daemon.enable = true;
|
||||||
|
|
||||||
environment.localBinInPath = true;
|
environment.localBinInPath = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue