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-gnome
];
config = {
common = {
config.niri = {
"default" = [
"gnome"
"gtk"
];
"org.freedesktop.impl.portal.Access" = [ "gtk" ];
"org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
};
};
xdgOpenUsePortal = true;
};
home.packages = with pkgs; [