Informis.land is functioning again.
This commit is contained in:
+16
-9
@@ -93,7 +93,9 @@ in {
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
security.acme.certs.${cfg.hostname}.email = config.fudo.common.admin-email;
|
||||
security.acme.certs.${cfg.hostname}.email = let
|
||||
domain-name = config.fudo.hosts.${config.instance.hostname}.domain;
|
||||
in config.fudo.domains.${domain-name}.admin-email;
|
||||
|
||||
services = {
|
||||
gitea = {
|
||||
@@ -114,14 +116,19 @@ in {
|
||||
stateDir = toString cfg.state-dir;
|
||||
rootUrl = "https://${cfg.hostname}/";
|
||||
user = mkIf (cfg.user != null) cfg.user;
|
||||
extraConfig = mkIf (cfg.ssh != null) ''
|
||||
[server]
|
||||
START_SSH_SERVER = true
|
||||
SSH_DOMAIN = ${cfg.hostname}
|
||||
SSH_PORT = ${toString cfg.ssh.listen-port}
|
||||
SSH_LISTEN_PORT = ${toString cfg.ssh.listen-port}
|
||||
SSH_LISTEN_HOST = ${cfg.ssh.listen-ip}
|
||||
'';
|
||||
ssh = {
|
||||
enable = true;
|
||||
clonePort = cfg.ssh.listen-port;
|
||||
};
|
||||
# settings = mkIf (cfg.ssh != null) {
|
||||
# server = {
|
||||
# START_SSH_SERVER = true;
|
||||
# SSH_DOMAIN = cfg.hostname;
|
||||
# SSH_PORT = cfg.ssh.listen-port;
|
||||
# SSH_LISTEN_PORT = cfg.ssh.listen-port;
|
||||
# SSH_LISTEN_HOST = cfg.ssh.listen-ip;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
nginx = {
|
||||
|
||||
Reference in New Issue
Block a user