NixOS configuration 🪄

✨🚧 trying to make controller with bluetooth work again aaah

Signed-off-by: Xaiya Schumin <d.schumin@proton.me>

+11 -5
-1
modules/nixos/extraPackages.nix
··· 28 28 # this has to be enabled globaly, so steam will be on every account :( 29 29 steam = { 30 30 enable = true; 31 - gamescopeSession.enable = false; # TODO: use this as the last option 32 31 extest.enable = true; 33 32 protontricks.enable = true; 34 33
+11 -2
modules/nixos/hardware/controller.nix
··· 24 24 25 25 config = mkMerge [ 26 26 (mkIf cfg.xbox.enable { 27 - hardware.xpadneo.enable = true; 28 - boot.extraModulePackages = [ config.boot.kernelPackages.xpadneo ]; 27 + hardware = { 28 + # Xbox controller configuration and kernel setup 29 + xpadneo.enable = true; 30 + 31 + # steam-hardware support and configuration 32 + steam-hardware.enable = true; 33 + }; 34 + 35 + boot.extraModprobeConfig = '' 36 + options bluetooth disable_ertm=Y 37 + ''; 29 38 }) 30 39 ]; 31 40
-2
systems/pineapple/default.nix
··· 12 12 13 13 networking.hostName = "pineapple"; 14 14 15 - boot.extraModulePackages = [ config.boot.kernelPackages.xpadneo ]; 16 - 17 15 sylveon = { 18 16 profiles = { 19 17 graphical.enable = true;