Compare commits

..

1 commit

Author SHA1 Message Date
f2dc1001d3 Upgrade attic max body size
Some checks failed
CI / build (push) Has been cancelled
2025-03-03 17:33:15 +02:00
3 changed files with 4 additions and 5 deletions

View file

@ -40,7 +40,7 @@ with lib;
host = "mail.cyon.ch"; host = "mail.cyon.ch";
user = "system@qo.is"; user = "system@qo.is";
from = "no-reply@qo.is"; from = "no-reply@qo.is";
passwordeval = "${pkgs.coreutils}/bin/cat ${config.sops.secrets."msmtp/password".path}"; passwordeval = "${pkgs.busybox}/bin/cat ${config.sops.secrets."msmtp/password".path}";
}; };
}; };
}; };

View file

@ -148,7 +148,7 @@ in
frontend http frontend http
mode http mode http
bind *:80 bind *:80
use_backend %[req.hdr(host),lower,map(${domainMappingFile})]-http use_backend %[req.hdr(host),lower,map_dom(${domainMappingFile})]-http
frontend https frontend https
bind *:443 bind *:443
@ -156,7 +156,7 @@ in
tcp-request inspect-delay 5s tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 } tcp-request content accept if { req_ssl_hello_type 1 }
use_backend %[req.ssl_sni,lower,map(${domainMappingFile})]-https use_backend %[req.ssl_sni,lower,map_dom(${domainMappingFile})]-https
## Generated Backends: ## Generated Backends:
${httpBackends} ${httpBackends}

View file

@ -34,8 +34,6 @@ with lib;
ROCKET_PORT = 8222; ROCKET_PORT = 8222;
USE_SENDMAIL = true; USE_SENDMAIL = true;
SENDMAIL_COMMAND = "${pkgs.msmtp}/bin/sendmail";
SMTP_FROM = "vault@qo.is"; SMTP_FROM = "vault@qo.is";
SMTP_FROM_NAME = cfg.domain; SMTP_FROM_NAME = cfg.domain;
@ -70,6 +68,7 @@ with lib;
# See https://search.nixos.org/options?channel=unstable&show=services.vaultwarden.environmentFile # See https://search.nixos.org/options?channel=unstable&show=services.vaultwarden.environmentFile
sops.secrets."vaultwarden/environment-file".restartUnits = [ "vaultwarden.service" ]; sops.secrets."vaultwarden/environment-file".restartUnits = [ "vaultwarden.service" ];
systemd.services.vaultwarden.path = [ pkgs.msmtp ];
users.users.vaultwarden.extraGroups = [ "postdrop" ]; users.users.vaultwarden.extraGroups = [ "postdrop" ];
networking.hosts."127.0.0.1" = [ cfg.domain ]; networking.hosts."127.0.0.1" = [ cfg.domain ];