feat: project vaultwarden unfucked

This commit is contained in:
Nick 2025-12-11 00:43:45 -06:00
parent a262bd483d
commit 2b1a44d591
6 changed files with 34 additions and 17 deletions

View file

@ -19,6 +19,10 @@ in
host,
mnt,
inter,
smtpFrom,
smtpHost,
smtpPort,
smtpUser,
}:
{
microvm.vms = {
@ -40,11 +44,11 @@ in
# Email Configuration
SMTP_AUTH_MECHANISM = "Plain";
SMTP_EMBED_IMAGES = true;
SMTP_FROM = smtpCfg.interfaces.interface0.email;
SMTP_FROM = smtpFrom;
SMTP_FROM_NAME = serviceCfg.label;
SMTP_HOST = smtpCfg.interfaces.interface0.domain;
SMTP_PORT = smtpCfg.ports.port0;
SMTP_USERNAME = smtpCfg.interfaces.interface0.email;
SMTP_HOST = smtpHost;
SMTP_PORT = smtpPort;
SMTP_USERNAME = smtpUser;
SMTP_SECURITY = "starttls";
# Security Configuration
@ -78,7 +82,9 @@ in
};
networking.firewall.allowedTCPPorts = [
22
465
587
2525
serviceCfg.ports.port0
];
systemd = {