mailutils comes with postfix

This commit is contained in:
Motiejus Jakštys 2023-07-26 13:32:03 +03:00
parent bac191ef2f
commit d4527c24a6
2 changed files with 4 additions and 1 deletions

View File

@ -105,7 +105,6 @@ in {
environment.systemPackages = with pkgs; [
headscale
mailutils
nixos-option
graphicsmagick
];

View File

@ -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;