rp5: move things in separate configs, to be reused
This commit is contained in:
parent
ac0fd3094c
commit
09a34fac3f
4 changed files with 92 additions and 67 deletions
|
@ -39,18 +39,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
services.fail2ban = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
|
@ -199,6 +187,7 @@ in
|
|||
enable = true;
|
||||
inherit sopsFile;
|
||||
};
|
||||
openssh = enabled;
|
||||
};
|
||||
|
||||
security = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue