nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

nixos/steam: Multiplayer games fail to host or join

Open BCVerdouw opened this issue 9 months ago • 2 comments

Nixpkgs version

  • Stable (25.11)

Describe the bug

When playing certain Steam games (tested with Windrose Demo and Log Riders), multiplayer does not work on NixOS.

Symptoms differ by game:

  • Windrose: attempting to host eventually returns to the main menu.
  • Log Riders: hosting a session hangs infinitely on a loading screen.

This occurs with both:

  • programs.steam.enable = true
  • The Flatpak version of Steam

Other environments on the same hardware/network work correctly:

  • Steam Deck
  • EndeavourOS liveboot

I could not identify a better category than the Steam package, but the root cause may involve NixOS networking/runtime configuration.

Steps to reproduce

  1. Install Steam via programs.steam.enable = true;
  2. Install the Windrose Demo
  3. Attempt to host a multiplayer session

Expected behaviour

The multiplayer session should start successfully, allowing other players to join.

Screenshots

No response

Relevant log output


Additional context

  • Firewall on/off does not affect the outcome
  • Sysctl/network tweaks have been tried without effect
  • Flatpak Steam shows the same problem
  • EndeavourOS liveboot with same host and network works

I can provide sysctl diffs, module lists, etc. on request.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.18.13, NixOS, 25.11 (Xantusia), 25.11.20260220.c217913
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.2
  • channels(root): "nixos-25.11"
  • nixpkgs: /nix/store/59c65vmrl55gcgqaam9pxrcvqkrgvd9g-source

Notify maintainers

@Atemu @K900 @mkg20001


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a :+1: reaction to issues you find important.

BCVerdouw avatar Feb 23 '26 15:02 BCVerdouw

I believe it's any game using Steam's multiplayer backend. When my friend with NixOS tries to use our multiplayer game (uses Steam Relay for P2P multiplayer) he's not able to connect to me and I'm not able to connect to him.

Mrcoolawesome avatar Feb 26 '26 22:02 Mrcoolawesome

I have found a solution for the problem on my end, @Mrcoolawesome I do hope that this solution would also work for your friend.

For me the fix was to remove the line boot.kernelParams = [ "ipv6.disable=1" ]; from my configuration, thereby re-enabling IPv6, the literal only networking tweak I had not yet attempted when opening this issue.

BCVerdouw avatar Feb 27 '26 14:02 BCVerdouw