I was using plasma 6, decided to try niri (without disabling plasma6). Just programs.niri.enable + add some programs that niri uses to systemPakages (like fuzzel, swaylock, etc), and run it in sddm. I was able to setup mako for notifications and xwayland-satellite for x11 apps with simple spawn-at-startup in niri’s config file.
However - when I try to open dolphin and open a file with it - not only it doesn’t recognize any default apps that I previously setup, but it doesn’t even list any program to pick. Also - I previously installed zen browser from flatpak (through Discover) - when I try to import passwords from file, it doesn’t open any file picker dialog (so just nothing happends).
I suspect it’s related to portals, but I’m not sure. On niri’s wiki there is a section about portals, but it says it should be enough to just have them installed and they will run on-demand. It mentions portal.conf - I have no idea how to find it. I tried to add kdePackages.xdg-desktop-portal-kde, xdg-desktop-portal-gtk and xdg-desktop-portal-gnome to systemPakages, and to xdg.portal.extraPortals - nothing seems to change.
Also - what pakage should I use to get some authentication agent? Wiki mentions plasma-polkit-agent - what pakage is that?