More fixes for procul certs.
This commit is contained in:
parent
b10d055e25
commit
a1d4e2aeb4
@ -87,22 +87,31 @@ in {
|
||||
hosts.procul.external-interfaces = [ "extif0" ];
|
||||
|
||||
acme.host-domains.${hostname} = {
|
||||
${host-fqdn}.local-copies = {
|
||||
postgresql = {
|
||||
user = config.systemd.services.postgresql.serviceConfig.User;
|
||||
dependent-services = [ "postgresql.service" ];
|
||||
part-of = [ config.fudo.postgresql.systemd-target ];
|
||||
${host-fqdn} = {
|
||||
admin-email = "admin@${domain-name}";
|
||||
local-copies = {
|
||||
postgresql = {
|
||||
user = config.systemd.services.postgresql.serviceConfig.User;
|
||||
dependent-services = [ "postgresql.service" ];
|
||||
part-of = [ config.fudo.postgresql.systemd-target ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
"imap.${domain-name}".local-copies.dovecot = {
|
||||
user = config.services.dovecot2.user;
|
||||
dependent-services = [ "dovecot2.service" ];
|
||||
"imap.${domain-name}" = {
|
||||
admin-email = "admin@${domain-name}";
|
||||
local-copies.dovecot = {
|
||||
user = config.services.dovecot2.user;
|
||||
dependent-services = [ "dovecot2.service" ];
|
||||
};
|
||||
};
|
||||
|
||||
"smtp.${domain-name}".local-copies.postfix = {
|
||||
user = config.services.postfix.user;
|
||||
dependent-services = [ "postfix.service" ];
|
||||
"smtp.${domain-name}" = {
|
||||
admin-email = "admin@${domain-name}";
|
||||
local-copies.postfix = {
|
||||
user = config.services.postfix.user;
|
||||
dependent-services = [ "postfix.service" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@ -242,16 +251,5 @@ in {
|
||||
listen-port = 2222;
|
||||
};
|
||||
};
|
||||
|
||||
acme = {
|
||||
enable = true;
|
||||
admin-address = "admin@${domain-name}";
|
||||
hostnames = [
|
||||
"informis.land"
|
||||
"imap.informis.land"
|
||||
"smtp.informis.land"
|
||||
"gemini.informis.land"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
2
flake.lock
generated
2
flake.lock
generated
@ -297,7 +297,7 @@
|
||||
},
|
||||
"fudo-lib_2": {
|
||||
"locked": {
|
||||
"narHash": "sha256-epp76qOzc1TQ0ESqTVqE6ZUjXj5tPSjIea8Gc+MyoLI=",
|
||||
"narHash": "sha256-O2CsIArXcPyiBtDbAiFNU2IvIBTqEljrwDJkGF0STbw=",
|
||||
"path": "/state/fudo-lib",
|
||||
"type": "path"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user