I am also new to Nix and haven't tried this yet myself, so please excuse me if this is wrong. Looks like you just have to set
programs.steam.remotePlay.openFirewall = true;
in your configuration.nix or flake or wherever you're enabling Steam.
It's in the first code block on this wiki page. https://nixos.wiki/wiki/Steam
all 7 comments