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 + ''; + }; +}