Add notifications combinator
This commit is contained in:
parent
c4fb625497
commit
977c3f2426
5 changed files with 118 additions and 15 deletions
14
lib/combinators/notifications.nix
Normal file
14
lib/combinators/notifications.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ 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" ]; };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue