From 099b7dee2ab07e23814a3e32ac991aafde8605ef Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 19 Sep 2019 09:44:34 +0800 Subject: [PATCH] nixbld: store email account info in /etc/nixos/secret --- nixbld-etc-nixos/configuration.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 98aa192..099d687 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -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 = {