Fix XDG portal selection

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2023-12-10 16:01:32 +01:00
parent 2aca36c8fd
commit ffed2f4fd0
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -1,11 +1,22 @@
{ pkgs, lib, ... }:
let
inherit (lib)
getExe
singleton;
in
{ {
pkgs,
lib,
...
}: let
inherit
(lib)
getExe
singleton
;
in {
xdg.portal = { xdg.portal = {
config = {
common = {
default = [
"gtk"
];
};
};
enable = true; enable = true;
xdgOpenUsePortal = true; xdgOpenUsePortal = true;
extraPortals = singleton pkgs.xdg-desktop-portal-gtk; extraPortals = singleton pkgs.xdg-desktop-portal-gtk;