···251251 </listitem>
252252 <listitem>
253253 <para>
254254+ <link xlink:href="https://github.com/rfjakob/systembus-notify">systembus-notify</link>,
255255+ allow system level notifications to reach the users. Available
256256+ as
257257+ <link xlink:href="opt-services.systembus-notify.enable">services.systembus-notify</link>.
258258+ Please keep in mind that this service should only be enabled
259259+ on machines with fully trusted users, as any local user is
260260+ able to DoS user sessions by spamming notifications.
261261+ </para>
262262+ </listitem>
263263+ <listitem>
264264+ <para>
254265 <link xlink:href="https://github.com/audreyt/ethercalc">ethercalc</link>,
255266 an online collaborative spreadsheet. Available as
256267 <link xlink:href="options.html#opt-services.ethercalc.enable">services.ethercalc</link>.
+2
nixos/doc/manual/release-notes/rl-2205.section.md
···72727373- [prosody-filer](https://github.com/ThomasLeister/prosody-filer), a server for handling XMPP HTTP Upload requests. Available at [services.prosody-filer](#opt-services.prosody-filer.enable).
74747575+- [systembus-notify](https://github.com/rfjakob/systembus-notify), allow system level notifications to reach the users. Available as [services.systembus-notify](opt-services.systembus-notify.enable). Please keep in mind that this service should only be enabled on machines with fully trusted users, as any local user is able to DoS user sessions by spamming notifications.
7676+7577- [ethercalc](https://github.com/audreyt/ethercalc), an online collaborative
7678 spreadsheet. Available as [services.ethercalc](options.html#opt-services.ethercalc.enable).
7779
···11+{ config, lib, pkgs, ... }:
22+33+let
44+ cfg = config.services.systembus-notify;
55+66+ inherit (lib) mkEnableOption mkIf;
77+88+in
99+{
1010+ options.services.systembus-notify = {
1111+ enable = mkEnableOption ''
1212+ System bus notification support
1313+1414+ WARNING: enabling this option (while convenient) should *not* be done on a
1515+ machine where you do not trust the other users as it allows any other
1616+ local user to DoS your session by spamming notifications.
1717+ '';
1818+ };
1919+2020+ config = mkIf cfg.enable {
2121+ systemd = {
2222+ packages = with pkgs; [ systembus-notify ];
2323+2424+ user.services.systembus-notify.wantedBy = [ "graphical-session.target" ];
2525+ };
2626+ };
2727+}