mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 01:44:40 +02:00
machine/thinkman: disable postfix by removing mail from drive-monitor
This commit is contained in:
parent
1b08d9bf1a
commit
2ca9cdd4da
2 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,7 @@ in
|
|||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services = {
|
||||
postfix.enable = lib.mkIf (cfg.OnFailureMail != null) true;
|
||||
postfix.enable = cfg.OnFailureMail != null;
|
||||
smartd = {
|
||||
enable = true;
|
||||
notifications.mail = lib.mkIf (cfg.OnFailureMail != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue