jail.nix/lib/combinators/notifications.nix
2025-10-10 16:28:45 -07:00

14 lines
405 B
Nix

{ combinators, ... }:
let
inherit (combinators) dbus;
in
{
sig = "Permission";
doc = ''
This adds the [dbus combinator](#dbus) with talk permission to
`org.freedesktop.Notifications` which allows the jailed software to send
[desktop
notifications](https://specifications.freedesktop.org/notification-spec/1.3/).
'';
impl = dbus { talk = [ "org.freedesktop.Notifications" ]; };
}