Compare commits

..

No commits in common. "3154607c4d51297da5e3ebed893cd0c84bf74f83" and "df9858f2d0166f955dd81785a4f80c3ea8b9b041" have entirely different histories.

3 changed files with 4 additions and 12 deletions

View file

@ -25,10 +25,6 @@ rec {
subdomain = "f";
fqdn = subdomain + "." + domain;
};
mailserver = rec {
subdomain = "mail";
fqdn = subdomain + "." + domain;
};
miniflux = {
fqdn = "rss." + domain;
port = 8085;

View file

@ -27,9 +27,9 @@ in
SMTP_FROM = "vaultwarden@${domain}";
SMTP_FROM_NAME = "${domain} Vaultwarden server";
SMTP_HOST = constants.services.mailserver.fqdn;
SMTP_PORT = 465;
SMTP_SECURITY = "force_tls";
SMTP_HOST = constants.hosts.sid.ip;
SMTP_PORT = 587;
SMTP_SECURITY = "starttls";
SMTP_USERNAME = "vaultwarden@${domain}";
ROCKET_ADDRESS = "127.0.0.1";

View file

@ -1,14 +1,10 @@
{ inputs, constants, ... }:
{ inputs, ... }:
let
inherit (constants.services.mailserver) subdomain;
in
{
imports = [ inputs.synix.nixosModules.mailserver ];
mailserver = {
enable = true;
inherit subdomain;
stateVersion = 3;
accounts = {
sid = {