Skip to content

Commit

Permalink
nixos/modules: add xdg-desktop-portal-gtk to sway
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontear committed Sep 17, 2024
1 parent 77fe6eb commit 1331a3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/programs/wayland/sway.nix
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ in
services.displayManager.sessionPackages = lib.optional (cfg.package != null) cfg.package;

# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050913
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
xdg.portal.config.sway.default = lib.mkDefault [ "wlr" "gtk" ];
}

Expand Down

0 comments on commit 1331a3c

Please sign in to comment.