programs: gnome-clocks: restrict dbus
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
|
# TODO(2025-01-09): fix the 'alarm' component
|
||||||
|
# - it creates a desktop notification, but no sound, and permanently freezes the app
|
||||||
|
# TODO(2025-01-09): inhibit screen-off while focused (for stopwatch function)
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
sane.programs.gnome-clocks = {
|
sane.programs.gnome-clocks = {
|
||||||
buildCost = 1;
|
buildCost = 1;
|
||||||
sandbox.whitelistAudio = true;
|
sandbox.whitelistAudio = true;
|
||||||
sandbox.whitelistDbus.user = true; #< TODO: reduce #< required for DE notification when alarm rings
|
sandbox.whitelistDbus.user.own = [ "org.gnome.clocks" ];
|
||||||
|
sandbox.whitelistSendNotifications = true;
|
||||||
sandbox.whitelistWayland = true;
|
sandbox.whitelistWayland = true;
|
||||||
sandbox.mesaCacheDir = ".cache/gnome-clocks/mesa"; # TODO: is this the correct app-id?
|
sandbox.mesaCacheDir = ".cache/gnome-clocks/mesa"; # TODO: is this the correct app-id?
|
||||||
gsettingsPersist = [ "org/gnome/clocks" ];
|
gsettingsPersist = [ "org/gnome/clocks" ];
|
||||||
|
Reference in New Issue
Block a user