Skip to content

Commit 93afb10

Browse files
committed
fix(hyprland): API breakage
1 parent 76e3636 commit 93afb10

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

modules/nixos/desktop/hyprland/default.nix

+12
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ in
2020
xdg.portal = {
2121
enable = true;
2222

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+
2335
# See https://github.com/NixOS/nixpkgs/issues/239886
2436
# Enable xdg-desktop-portal-gtk unless we already have it from Gnome DE
2537
extraPortals = lib.optionals (!config.services.xserver.desktopManager.gnome.enable) [ pkgs.xdg-desktop-portal-gtk ];

0 commit comments

Comments
 (0)