From d4527c24a6d70229c9b0e5951251963dfc7b3772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 26 Jul 2023 13:32:03 +0300 Subject: [PATCH] mailutils comes with postfix --- hosts/hel1-a/configuration.nix | 1 - modules/services/postfix/default.nix | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/hel1-a/configuration.nix b/hosts/hel1-a/configuration.nix index 3a09a6b..c4e6a08 100644 --- a/hosts/hel1-a/configuration.nix +++ b/hosts/hel1-a/configuration.nix @@ -105,7 +105,6 @@ in { environment.systemPackages = with pkgs; [ headscale - mailutils nixos-option graphicsmagick ]; diff --git a/modules/services/postfix/default.nix b/modules/services/postfix/default.nix index df07030..b2afc52 100644 --- a/modules/services/postfix/default.nix +++ b/modules/services/postfix/default.nix @@ -2,6 +2,7 @@ config, lib, myData, + pkgs, ... }: { options.mj.services.postfix = with lib.types; { @@ -10,6 +11,9 @@ }; config = lib.mkIf config.mj.services.postfix.enable { + + environment.systemPackages = [pkgs.mailutils]; + services.postfix = { enable = true; enableSmtp = true;