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
|
||||
libsForQt5.qtstyleplugin-kvantum
|
||||
xwayland-satellite
|
||||
nautilus # xdg-gnome needs this but we don't use gnome???
|
||||
];
|
||||
|
||||
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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue