Commit 93afb10 1 parent 76e3636 commit 93afb10 Copy full SHA for 93afb10
File tree 1 file changed +12
-0
lines changed
modules/nixos/desktop/hyprland
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 20
20
xdg . portal = {
21
21
enable = true ;
22
22
23
+ # xdg-desktop-portal 1.17 reworked how portal implementations are loaded, you
24
+ # should either set `xdg.portal.config` or `xdg.portal.configPackages`
25
+ # to specify which portal backend to use for the requested interface.
26
+
27
+ # https://github.com/flatpak/xdg-desktop-portal/blob/1.18.1/doc/portals.conf.rst.in
28
+
29
+ # If you simply want to keep the behaviour in < 1.17, which uses the first
30
+ # portal implementation found in lexicographical order, use the following:
31
+
32
+ # xdg.portal.config.common.default = "*";
33
+ config . common . default = "*" ;
34
+
23
35
# See https://github.com/NixOS/nixpkgs/issues/239886
24
36
# Enable xdg-desktop-portal-gtk unless we already have it from Gnome DE
25
37
extraPortals = lib . optionals ( ! config . services . xserver . desktopManager . gnome . enable ) [ pkgs . xdg-desktop-portal-gtk ] ;
You can’t perform that action at this time.
0 commit comments