From 40e73443881e577305d560fc9dfae5a18dcaed86 Mon Sep 17 00:00:00 2001 From: teutat3s <10206665+teutat3s@users.noreply.github.com> Date: Sun, 9 Feb 2025 23:20:53 +0100 Subject: [PATCH] nixos/sway: restore list type of xdg.portal.config.sway.default This fixes a regression introduced in #348792, where the option type was changed from list to string. This commit reverts the type back to list. Fixes #352188 Closes #352193 --- nixos/modules/programs/wayland/sway.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/wayland/sway.nix b/nixos/modules/programs/wayland/sway.nix index 83fc3825b819..8a068664c366 100644 --- a/nixos/modules/programs/wayland/sway.nix +++ b/nixos/modules/programs/wayland/sway.nix @@ -159,7 +159,7 @@ in # https://github.com/emersion/xdg-desktop-portal-wlr/pull/315 xdg.portal.config.sway = { # Use xdg-desktop-portal-gtk for every portal interface... - default = "gtk"; + default = [ "gtk" ]; # ... except for the ScreenCast, Screenshot and Secret "org.freedesktop.impl.portal.ScreenCast" = "wlr"; "org.freedesktop.impl.portal.Screenshot" = "wlr";