hm/niri: let xdg-open use portal

This commit is contained in:
Lu Wang 2024-11-29 22:56:31 +08:00
parent 65bc3735de
commit c3bdad49ff
Signed by: rebmit
SSH key fingerprint: SHA256:3px8QV1zEerIrEWHaqtH5rR9kjetyRST5EipOPrd+bU

View file

@ -263,15 +263,15 @@ in
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-gnome xdg-desktop-portal-gnome
]; ];
config = { config.niri = {
common = {
"default" = [ "default" = [
"gnome" "gnome"
"gtk" "gtk"
]; ];
"org.freedesktop.impl.portal.Access" = [ "gtk" ];
"org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ]; "org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
}; };
}; xdgOpenUsePortal = true;
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [