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 # this has to be enabled globaly, so steam will be on every account :( 29 steam = { 30 enable = true; 31 - gamescopeSession.enable = false; # TODO: use this as the last option 32 extest.enable = true; 33 protontricks.enable = true; 34
··· 28 # this has to be enabled globaly, so steam will be on every account :( 29 steam = { 30 enable = true; 31 extest.enable = true; 32 protontricks.enable = true; 33
+11 -2
modules/nixos/hardware/controller.nix
··· 24 25 config = mkMerge [ 26 (mkIf cfg.xbox.enable { 27 - hardware.xpadneo.enable = true; 28 - boot.extraModulePackages = [ config.boot.kernelPackages.xpadneo ]; 29 }) 30 ]; 31
··· 24 25 config = mkMerge [ 26 (mkIf cfg.xbox.enable { 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 + ''; 38 }) 39 ]; 40
-2
systems/pineapple/default.nix
··· 12 13 networking.hostName = "pineapple"; 14 15 - boot.extraModulePackages = [ config.boot.kernelPackages.xpadneo ]; 16 - 17 sylveon = { 18 profiles = { 19 graphical.enable = true;
··· 12 13 networking.hostName = "pineapple"; 14 15 sylveon = { 16 profiles = { 17 graphical.enable = true;