hosts/marisa: fix gitea mailer

Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
2023-08-07 04:59:53 +05:30
parent 1fc6e8cd96
commit e281e912d8
4 changed files with 3 additions and 4 deletions

View File

@@ -7,9 +7,10 @@
Type = "simple";
Environment = [
"TITLE=nattofiles"
"USER_URL=${lib'.network.addresses.subdomain.natto "f"}"
"USER_URL=https://f.${lib'.network.addresses.domain.natto}"
"ROCKET_LIMITS={file=\"512MB\",data-form=\"512MB\"}"
"ROCKET_LOG_LEVEL=debug"
"ROCKET_ADDRESS=0.0.0.0"
];
Restart = "on-failure";
ExecStart = "${inputs.filehost.packages.${pkgs.system}.simpler-filehost}/bin/simpler-filehost";

View File

@@ -27,7 +27,7 @@
ENABLED = true;
FROM = "masti@${domain}";
TYPE = "smtp";
HOST = domain;
HOST = "mail.${domain}";
IS_TLS_ENABLED = true;
USER = FROM;
REGISTER_MAIL_CONFIRM = true;

View File

@@ -23,7 +23,6 @@
rnix-lsp
nmap
gcc
postgresql #for the client cli
];
programs = {

View File

@@ -13,7 +13,6 @@
domain = {
natto = "weirdnatto.in";
};
subdomain = builtins.mapAttrs(_: domain: (sub: "${sub}.${domain}")) domain;
};
commonSSHKeys = [