From cec0e2e69b8d83f492ce2daadb94630d85879dee Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Tue, 30 Apr 2024 12:43:13 -0700 Subject: [PATCH] postfix --- configuration.nix | 1 + postfix.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 postfix.nix diff --git a/configuration.nix b/configuration.nix index bff22ef..c7a44c9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,6 +4,7 @@ ./misskey-service.nix ./heartles-xyz-proxy.nix ./ogdo.nix + ./postfix.nix ]; nix.settings = { diff --git a/postfix.nix b/postfix.nix new file mode 100644 index 0000000..1818103 --- /dev/null +++ b/postfix.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: + +{ + services.postfix = { + enable = true; + enableSubmission = true; + + extraConfig = '' + inet_interfaces = 127.0.0.1 + ''; + }; +}