mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-14 10:30:52 -06:00
feat: project vaultwarden unfucked
This commit is contained in:
parent
a262bd483d
commit
2b1a44d591
6 changed files with 34 additions and 17 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue