9 cfg = config.services.systembus-notify;
11 inherit (lib) mkEnableOption mkIf;
15 options.services.systembus-notify = {
16 enable = mkEnableOption ''
17 System bus notification support
19 WARNING: enabling this option (while convenient) should *not* be done on a
20 machine where you do not trust the other users as it allows any other
21 local user to DoS your session by spamming notifications
25 config = mkIf cfg.enable {
27 packages = with pkgs; [ systembus-notify ];
29 user.services.systembus-notify.wantedBy = [ "graphical-session.target" ];