jail.nix/lib/combinators/notifications.nix

14 lines
405 B
Nix
Raw Normal View History

2025-10-04 11:28:20 -07:00
{ 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" ]; };
}