programs: dino: restrict dbus

This commit is contained in:
2025-01-10 01:56:25 +00:00
parent 3fffc50975
commit ec816311f9

View File

@@ -58,14 +58,22 @@ in
webrtc-audio-processing = null;
};
suggestedPrograms = [
"gnome-keyring"
];
# suggestedPrograms = [
# "gnome-keyring"
# ];
sandbox.net = "clearnet";
sandbox.whitelistAudio = true;
sandbox.whitelistDbus.user = true; #< TODO: reduce # notifications
# sandbox.whitelistDbus.user.call."org.freedesktop.secrets" = "*"; #< apparently not needed?
sandbox.whitelistDbus.user.own = [ "im.dino.Dino" ];
sandbox.whitelistDri = true; #< not strictly necessary, but we need all the perf we can get on moby
sandbox.whitelistSendNotifications = true;
sandbox.whitelistPortal = [
# "FileChooser"
# "NetworkMonitor" #< stderr message if omitted, but non-fatal
"OpenURI"
"ProxyResolver" #< REQUIRED, else all peers will appear offline & messages can't be sent/received
];
sandbox.whitelistWayland = true;
sandbox.extraHomePaths = [
"Music"