From 4cb285ac2d9004c2d7f644bf84d8ed68415969ce Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Sat, 10 Aug 2024 17:21:35 -0300 Subject: [PATCH] nixos: remove qmk/via udev rules as they conflict with my xbox controller through bluetooth --- nixos.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nixos.nix b/nixos.nix index f571fcd..cd00e88 100644 --- a/nixos.nix +++ b/nixos.nix @@ -237,10 +237,11 @@ in }; # Enable QMK support. - hardware.keyboard.qmk.enable = true; + # hardware.keyboard.qmk.enable = true; + # FIXME: Causing issues with xpadneo :( - # Enable the udev rules Steam recommends for controllers. - hardware.steam-hardware.enable = true; + # enable a better driver for wireless xbox controllers. + hardware.xpadneo.enable = true; # Enable fstrim for better ssd lifespan services.fstrim.enable = true; @@ -259,6 +260,7 @@ in # Enable Hyprland programs.hyprland = { enable = true; + package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; }; @@ -429,7 +431,8 @@ in services.flatpak.enable = true; # Enables VIA - services.udev.packages = [ pkgs.via ]; + # services.udev.packages = [ pkgs.via ]; + # FIXME: Causing issues with xpadneo :( # Enable and configure PostgreSQL. services.postgresql = {