services: gitea use system ssh
This commit is contained in:
parent
cbc20ba224
commit
e44ba26ccb
@ -23,11 +23,7 @@
|
||||
mailerPasswordFile = config.age.secrets."services/gitea/mailerPassword".path;
|
||||
settings = {
|
||||
server = {
|
||||
START_SSH_SERVER = true;
|
||||
SSH_PORT = 2222;
|
||||
# SSH_SERVER_CIPHERS = "";
|
||||
# SSH_SERVER_KEY_EXCHANGES = "";
|
||||
# SSH_SERVER_MACS = "";
|
||||
SSH_PORT = 2220;
|
||||
ENABLE_GZIP = true;
|
||||
};
|
||||
security = {
|
||||
@ -68,12 +64,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
interfaces.ens18 = {
|
||||
allowedTCPPorts = [ 2222 ];
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
Loading…
Reference in New Issue
Block a user