forked from M-Labs/nix-scripts
nixbld: store email account info in /etc/nixos/secret
This commit is contained in:
parent
d28167badf
commit
099b7dee2a
@ -524,11 +524,7 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||||||
# Getting a proper reverse DNS record from ISP is difficult, so use whatever already exists.
|
# Getting a proper reverse DNS record from ISP is difficult, so use whatever already exists.
|
||||||
fqdn = "42-200-147-171.static.imsbiz.com";
|
fqdn = "42-200-147-171.static.imsbiz.com";
|
||||||
domains = [ "nmigen.org" ];
|
domains = [ "nmigen.org" ];
|
||||||
loginAccounts = {
|
loginAccounts = (import /etc/nixos/secret/email_accounts.nix);
|
||||||
"test@nmigen.org" = {
|
|
||||||
hashedPassword = "$6$P7VlskhRXIBUr$sjqBUw2Lp/7XuwaqZuZGwFToVzjJzWR/wBOMP4l6en4wsuooUyVBjpQLMNSgVSxiKsG4oatFZJQWykJVoRDM./";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
certificateScheme = 3;
|
certificateScheme = 3;
|
||||||
};
|
};
|
||||||
security.acme.certs."${config.mailserver.fqdn}".extraDomains = {
|
security.acme.certs."${config.mailserver.fqdn}".extraDomains = {
|
||||||
|
Loading…
Reference in New Issue
Block a user