hosts/marisa: fix gitea mailer
Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
@@ -7,9 +7,10 @@
|
|||||||
Type = "simple";
|
Type = "simple";
|
||||||
Environment = [
|
Environment = [
|
||||||
"TITLE=nattofiles"
|
"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_LIMITS={file=\"512MB\",data-form=\"512MB\"}"
|
||||||
"ROCKET_LOG_LEVEL=debug"
|
"ROCKET_LOG_LEVEL=debug"
|
||||||
|
"ROCKET_ADDRESS=0.0.0.0"
|
||||||
];
|
];
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
ExecStart = "${inputs.filehost.packages.${pkgs.system}.simpler-filehost}/bin/simpler-filehost";
|
ExecStart = "${inputs.filehost.packages.${pkgs.system}.simpler-filehost}/bin/simpler-filehost";
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
FROM = "masti@${domain}";
|
FROM = "masti@${domain}";
|
||||||
TYPE = "smtp";
|
TYPE = "smtp";
|
||||||
HOST = domain;
|
HOST = "mail.${domain}";
|
||||||
IS_TLS_ENABLED = true;
|
IS_TLS_ENABLED = true;
|
||||||
USER = FROM;
|
USER = FROM;
|
||||||
REGISTER_MAIL_CONFIRM = true;
|
REGISTER_MAIL_CONFIRM = true;
|
||||||
|
@@ -23,7 +23,6 @@
|
|||||||
rnix-lsp
|
rnix-lsp
|
||||||
nmap
|
nmap
|
||||||
gcc
|
gcc
|
||||||
postgresql #for the client cli
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
@@ -13,7 +13,6 @@
|
|||||||
domain = {
|
domain = {
|
||||||
natto = "weirdnatto.in";
|
natto = "weirdnatto.in";
|
||||||
};
|
};
|
||||||
subdomain = builtins.mapAttrs(_: domain: (sub: "${sub}.${domain}")) domain;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
commonSSHKeys = [
|
commonSSHKeys = [
|
||||||
|
Reference in New Issue
Block a user