mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 12:40:13 +00:00
remove dunst requirements when disabled
This commit is contained in:
@ -59,7 +59,8 @@
|
||||
enable = true;
|
||||
boxes = [ "Inbox" ];
|
||||
onNotify = "${pkgs.isync}/bin/mbsync -a";
|
||||
onNotifyPost =
|
||||
onNotifyPost = lib.mkIf
|
||||
config.home-manager.users.${config.user}.services.dunst.enable
|
||||
"${pkgs.libnotify}/bin/notify-send 'New mail arrived'";
|
||||
};
|
||||
maildir = { path = "main"; };
|
||||
|
Reference in New Issue
Block a user