Feature email server (#14)
* formatting * update * add mailserver * flake update
This commit is contained in:
@ -3,11 +3,6 @@
|
||||
{
|
||||
config = {
|
||||
services = lib.mkIf config.services.gitea.enable {
|
||||
fail2ban = {
|
||||
enable = true;
|
||||
|
||||
};
|
||||
|
||||
openssh = {
|
||||
extraConfig = ''
|
||||
Match User gitea
|
||||
@ -23,5 +18,9 @@
|
||||
RSA = 4095;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = lib.mkIf config.services.openssh.enable {
|
||||
allowedTCPPorts = config.services.openssh.ports;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user