diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-13 09:43:23 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-13 09:43:23 -0500 |
| commit | 88378e69aa2151e68d7e635a3a57e21df7efcbc5 (patch) | |
| tree | 8c7d23282252f73d2a84a8fce511f18ebde71aea /system/desktops/wayland.nix | |
| parent | update caelestia config (diff) | |
| download | dotfiles-nix-88378e69aa2151e68d7e635a3a57e21df7efcbc5.tar.gz dotfiles-nix-88378e69aa2151e68d7e635a3a57e21df7efcbc5.tar.bz2 dotfiles-nix-88378e69aa2151e68d7e635a3a57e21df7efcbc5.zip | |
fix desktop portals
Diffstat (limited to 'system/desktops/wayland.nix')
| -rw-r--r-- | system/desktops/wayland.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/desktops/wayland.nix b/system/desktops/wayland.nix index e11eca8..2f43fb3 100644 --- a/system/desktops/wayland.nix +++ b/system/desktops/wayland.nix @@ -10,12 +10,16 @@ in { config = mkIf cfg.enable { xdg.portal = { enable = true; + xdgOpenUsePortal = true; extraPortals = with pkgs; [ + xdg-desktop-portal xdg-desktop-portal-gtk ]; config.common = { - default = ["gtk"]; + default = lib.mkForce ["gtk"]; "org.freedesktop.impl.portal.Secret" = ["gnome-keyring"]; + "org.freedesktop.impl.portal.FileChooser" = ["gtk"]; + "org.freedesktop.impl.portal.OpenURI" = ["gtk"]; }; }; |