From b81b82a065bd4cec6f820afd47ac3ad1420554e0 Mon Sep 17 00:00:00 2001 From: kat witch Date: Tue, 27 Apr 2021 22:27:53 +0100 Subject: [PATCH] hosts/athame+services/mail: Cleanup --- hosts/athame/nixos/default.nix | 4 +--- services/mail.nix | 8 ++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/athame/nixos/default.nix b/hosts/athame/nixos/default.nix index 8eea1d64..06f24bab 100644 --- a/hosts/athame/nixos/default.nix +++ b/hosts/athame/nixos/default.nix @@ -62,10 +62,8 @@ with lib; hexchen.network = { enable = true; pubkey = "55e3f29c252d16e73ac849a6039824f94df1dee670c030b9e29f90584f935575"; - # if server, enable this and set endpoint: listen.enable = false; - listen.endpoints = - [ ]; + listen.endpoints = [ ]; }; system.stateVersion = "20.09"; } diff --git a/services/mail.nix b/services/mail.nix index 81d63828..0b6a8cbf 100644 --- a/services/mail.nix +++ b/services/mail.nix @@ -82,6 +82,14 @@ with lib; txt.value = tf.variables.domainkey_kitty.ref; }; + secrets.files = { + kat_mail_hash = { + source = ../private/files/mail/kat-pw-hash; + owner = "kat"; + group = "users"; + }; + }; + mailserver = { enable = true; fqdn = "athame.kittywit.ch";