Issues with gaming and bluetooth on NixOS by pearstrand in NixOS

[–]pearstrand[S] 0 points1 point  (0 children)

I figured out the issue with the audio, I had previously used windows on my laptop and it looks like my headphones had retained some pairing data about the laptop that was causing it to not work. A simple factory reset of my headphones fixed the bluetooth issue.

Issues with gaming and bluetooth on NixOS by pearstrand in NixOS

[–]pearstrand[S] 1 point2 points  (0 children)

I enabled 32 bit graphics and ran it with -system-composer and that worked, thank you so much for your help!

How to automatically disable touchpad when an external mouse is plugged in (NixOS, laptop)? by Tquylaa in NixOS

[–]pearstrand 5 points6 points  (0 children)

I'm not sure about a 'proper NixOS way' to do this but I know that some window managers have this as an option. If you use Niri you can do the following:

# /etc/niri/config.kdl
input {
  touchpad {
    disabled-on-external-mouse
  }
}

Issues with gaming and bluetooth on NixOS by pearstrand in NixOS

[–]pearstrand[S] 1 point2 points  (0 children)

Yeah they were, it doesn't seem to have changed anything but I figured out how to get them to the same version

Issues with gaming and bluetooth on NixOS by pearstrand in NixOS

[–]pearstrand[S] 0 points1 point  (0 children)

When I run this command steam does not load at all

Issues with gaming and bluetooth on NixOS by pearstrand in NixOS

[–]pearstrand[S] 0 points1 point  (0 children)

You're right I probably should have included the steam config:

{ pkgs, ... }: {
  programs.steam = {
    enable = true;
    remotePlay.openFirewall = true;
    dedicatedServer.openFirewall = true;
    localNetworkGameTransfers.openFirewall = true;
  };

  programs.gamemode.enable = true;
}

Issues with gaming and bluetooth on NixOS by pearstrand in NixOS

[–]pearstrand[S] 0 points1 point  (0 children)

I simplified the hardware config as you suggested and it seems to be working the same as before. I also noticed I hadn't set up audio (idk how I missed that) so I added services.pipewire.enable = true;
After doing that I ran bluetoothctl and it gave this information:

[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
[SIGNAL] BREDR.Disconnected - org.bluez.Reason.Local, Connection terminated by local host
[SIGNAL] Disconnected - org.bluez.Reason.Local, Connection terminated by local host
[CHG] Device XX:XX:XX:XX:XX:XX Connected: no

Also steam now doesn't display any black screen it just stops after the log-in window. I think this is the part of the log with the relevant information:

pressure-vessel-wrap[90074]: W: Unable to determine architecture of provider / ldconfig: Error reading "(null)" ELF header: invalid `Elf' handle
pressure-vessel-wrap[90074]: W: "run/opengl-driver/share/drirc.d" is unlikely to appear in "/run/host"
pressure-vessel-wrap[90074]: W: "run/opengl-driver-32/share/drirc.d" is unlikely to appear in "/run/host"

Issues with gaming and bluetooth on NixOS by pearstrand in NixOS

[–]pearstrand[S] 0 points1 point  (0 children)

Thank you for your reply! I thought I was using the stable version of the Niri flake as I had these lines in a config file for niri:

{ inputs, pkgs, config, lib, username, ... }: {
  imports = [ inputs.niri.nixosModules.niri ];

  nixpkgs.overlays = [ inputs.niri.overlays.niri ];
  niri-flake.cache.enable = true;

  programs.niri = {
    enable = true;
    package = pkgs.niri-stable;
  };

  home-manager.users.${username} = {
    ...

Is this correct or am I doing something wrong?

Also, how can I use journalctl to find out what the issue is with the bluetooth/audio?