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; [ environment.systemPackages = with pkgs; [
headscale headscale
mailutils
nixos-option nixos-option
graphicsmagick graphicsmagick
]; ];

View File

@ -2,6 +2,7 @@
config, config,
lib, lib,
myData, myData,
pkgs,
... ...
}: { }: {
options.mj.services.postfix = with lib.types; { options.mj.services.postfix = with lib.types; {
@ -10,6 +11,9 @@
}; };
config = lib.mkIf config.mj.services.postfix.enable { config = lib.mkIf config.mj.services.postfix.enable {
environment.systemPackages = [pkgs.mailutils];
services.postfix = { services.postfix = {
enable = true; enable = true;
enableSmtp = true; enableSmtp = true;