Start SSH server for Gitea

This commit is contained in:
niten 2023-06-21 14:44:54 -07:00
parent bae4f4ddef
commit 93bc54ec67

View File

@ -132,6 +132,8 @@ in {
user = mkIf (cfg.user != null) cfg.user;
settings = mkIf (cfg.ssh != null) {
server = {
START_SSH_SERVER = true;
# Displayed in the clone URL
SSH_DOMAIN = cfg.hostname;
SSH_PORT = mkForce cfg.ssh.listen-port;