programs: add gdbus as a standalone program, separate from the rest of glib

This commit is contained in:
2024-02-27 18:28:24 +00:00
parent 9ba0833d5f
commit 20a1aeb5b3
2 changed files with 12 additions and 0 deletions

View File

@@ -33,6 +33,7 @@
./fwupd.nix
./g4music.nix
./gajim.nix
./gdbus.nix
./geary.nix
./git.nix
./gnome-feeds.nix

View File

@@ -0,0 +1,11 @@
{ pkgs, ... }:
{
sane.programs.gdbus = {
packageUnwrapped = pkgs.linkIntoOwnPackage pkgs.glib "bin/gdbus";
sandbox.method = "bwrap";
sandbox.wrapperType = "wrappedDerivation";
sandbox.whitelistDbus = [ "user" ]; #< XXX: maybe future users will also want system access
};
}