add dnote

This commit is contained in:
Joakim Repomaa
2025-02-13 16:03:10 +02:00
parent ddc6e6d575
commit 1cf3c7d8dd
10 changed files with 211 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
"storage-box-credentials"
"vaultwarden"
"donetick"
"dnote"
]
) // {
smtp-password = {

View File

@@ -9,6 +9,7 @@ let
from = "noreply@${config.networking.domain}";
heloName = config.networking.domain;
};
secrets = config.age.secrets;
in
{
services.postgresql.package = pkgs.postgresql_16;
@@ -149,5 +150,16 @@ in
videoConversion.concurrency = 2;
};
};
dnote = {
enable = true;
subdomain = "note";
environment = {
SmtpHost = smtp.host;
SmtpPort = smtp.port;
SmtpUsername = smtp.username;
};
environmentFile = secrets.dnote.path;
};
};
}