Configure XDG portal with GTK backend for file dialogs
This commit is contained in:
parent
f47f761bb8
commit
b628205eac
1 changed files with 8 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ in {
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
libsForQt5.qtstyleplugin-kvantum
|
libsForQt5.qtstyleplugin-kvantum
|
||||||
xwayland-satellite
|
xwayland-satellite
|
||||||
|
nautilus # xdg-gnome needs this but we don't use gnome???
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.niri = {
|
programs.niri = {
|
||||||
|
|
@ -52,7 +53,13 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||||
|
configPackages = [pkgs.xdg-desktop-portal-gtk];
|
||||||
|
config.common.default = "gtk";
|
||||||
|
};
|
||||||
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue