niri-flake NixOS module already provides polkit agent, gnome-keyring, default fonts
When removing a second compositor module (that had its own polkit-kde agent service, gnome-keyring, fonts.enableDefaultPackages) and keeping only niri via sodiboo/niri-flake: no need to port those. niri-flake's nixosModule sets security.polkit.enable, services.gnome.gnome-keyring.enable, a niri-flake-polkit user service (polkit-kde-agent-1), fonts.enableDefaultPackages = mkDefault true, and xdg-desktop-portal-gnome. It does NOT add xdg-desktop-portal-gtk, so if your niri-portals.conf routes Access/Notification to gtk, add pkgs.xdg-desktop-portal-gtk to xdg.portal.extraPortals yourself. TTY autostart command is niri-session (not niri start-session). Verify with grep in the niri input source: nix flake archive --json | jq -r .inputs.niri.path.