about summary refs log tree commit diff stats
path: root/sys/svcs
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-31 12:20:00 +0200
committerSoispha <soispha@vhack.eu>2023-08-31 12:20:00 +0200
commit851a4cff21eb52d052e58a04f48f87271ea2fd80 (patch)
tree60e99755198da9e4abc01c95301a572a8543f28c /sys/svcs
parentFix(hm/wms/river): Use new keymaps (diff)
downloadnixos-config-851a4cff21eb52d052e58a04f48f87271ea2fd80.tar.gz
nixos-config-851a4cff21eb52d052e58a04f48f87271ea2fd80.zip
Fix(sys/srvs/xdg): Add gtk desktop portal
Diffstat (limited to 'sys/svcs')
-rw-r--r--sys/svcs/xdg/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/svcs/xdg/default.nix b/sys/svcs/xdg/default.nix
index 297928ce..1fe60c43 100644
--- a/sys/svcs/xdg/default.nix
+++ b/sys/svcs/xdg/default.nix
@@ -1,10 +1,15 @@
 {pkgs, ...}: {
+  services.dbus.enable = true;
   xdg = {
     portal = {
       enable = true;
       # TODO: only enable the below, when on river (or wlr based compositor)
       wlr.enable = true;
-      extraPortals = [pkgs.xdg-desktop-portal-wlr];
+      extraPortals = [
+        # NOTE: The next entry is supposedly needed for gtk based apps <2023-08-31>
+        pkgs.xdg-desktop-portal-gtk
+        pkgs.xdg-desktop-portal-wlr
+      ];
     };
   };
   # TODO: mime = {};