{...}: { programs.niri.settings.spawn-at-startup = [ # this is a funny fix for xdg environment not properly being set and thus # xdg-open not working properly {argv = ["systemctl --user restart xdg-desktop-portal"];} # open fastfetch by default {argv = ["kitty --title 'fastfetch' sh -c 'fastfetch; read'"];} ]; }