Work on sendmail to send emails
This commit is contained in:
@@ -10,6 +10,17 @@
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.etc."msmtp-password" = {
|
||||
enable = true;
|
||||
user = "invoiceninja";
|
||||
group = "invoiceninja";
|
||||
mode = "0440";
|
||||
text = ''
|
||||
3t5h638t3a7y7275
|
||||
|
||||
'';
|
||||
};
|
||||
|
||||
users.users.test = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
@@ -19,6 +30,16 @@
|
||||
services.invoice-ninja = {
|
||||
enable = true;
|
||||
database.createLocally = true;
|
||||
webserver.caddy.enable = true;
|
||||
webserver.nginx.enable = false;
|
||||
msmtp = {
|
||||
tls = true;
|
||||
from = "awkawb@awkawb.cloud";
|
||||
host = "smtp.fastmail.com";
|
||||
port = 465;
|
||||
username = "awkawb@awkawb.cloud";
|
||||
passwordeval = "cat /etc/msmtp-password";
|
||||
};
|
||||
secretFile = ./test-secrets.env;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user