{...}: { programs.niri.settings = { window-rules = [ # handle steam grabbing focus 1000 times on startup { matches = [ { app-id = "steam"; } ]; open-focused = false; } ]; # fix electron apps not doing wayland environment.ELECTRON_OZONE_PLATFORM_HINT = "auto"; }; }