nixbld: store email account info in /etc/nixos/secret

tecpak
Sebastien Bourdeauducq 2019-09-19 09:44:34 +08:00
parent d28167badf
commit 099b7dee2a
1 changed files with 1 additions and 5 deletions

View File

@ -524,11 +524,7 @@ ACTION=="add", SUBSYSTEM=="tty", \
# Getting a proper reverse DNS record from ISP is difficult, so use whatever already exists.
fqdn = "42-200-147-171.static.imsbiz.com";
domains = [ "nmigen.org" ];
loginAccounts = {
"test@nmigen.org" = {
hashedPassword = "$6$P7VlskhRXIBUr$sjqBUw2Lp/7XuwaqZuZGwFToVzjJzWR/wBOMP4l6en4wsuooUyVBjpQLMNSgVSxiKsG4oatFZJQWykJVoRDM./";
};
};
loginAccounts = (import /etc/nixos/secret/email_accounts.nix);
certificateScheme = 3;
};
security.acme.certs."${config.mailserver.fqdn}".extraDomains = {