Compare commits

...

3 commits

Author SHA1 Message Date
20d2f30fc7 Wine 64 bits 2019-01-16 23:35:37 +01:00
54539eb80e désactivation joystick Corsair K70
Un joystick suplémentaire correspondant au clavier était ajouté dans /dev/input/js* rendant Rocket League injouable. Cette règle supprime directement ce joystick
2019-01-16 23:35:37 +01:00
5ec285e329 activation du module hid_steam 2019-01-16 23:35:37 +01:00
2 changed files with 6 additions and 2 deletions

View file

@ -37,6 +37,11 @@
usb-modeswitch-data # Logitech G920 usb-modeswitch-data # Logitech G920
]; ];
# Corsair K70
services.udev.extraRules = ''
SUBSYSTEM=="usb", ATTR{bInterfaceNumber}=="00", ATTRS{idVendor}=="1b1c", ATTRS{idProduct}=="1b09", RUN+="${pkgs.bash}/bin/sh -c '${pkgs.coreutils}/bin/echo -n %k > /sys''${DEVPATH}/driver/unbind'"
'';
networking.hostName = "paul-fixe"; # Define your hostname. networking.hostName = "paul-fixe"; # Define your hostname.
networking.networkmanager.enable = true; # Enables wireless support via wpa_supplicant. networking.networkmanager.enable = true; # Enables wireless support via wpa_supplicant.
@ -51,7 +56,7 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
filezilla filezilla
wineStaging wineWowPackages.staging
winetricks winetricks
qbittorrent qbittorrent
transmission-remote-gtk transmission-remote-gtk

View file

@ -11,7 +11,6 @@
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "firewire_ohci" "pata_marvell" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "firewire_ohci" "pata_marvell" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
boot.kernelModules = [ "kvm-intel" "nct6775" ]; boot.kernelModules = [ "kvm-intel" "nct6775" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.blacklistedKernelModules = [ "hid-steam" ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/509a5842-56fe-40bd-8b00-6bda87e02e5e"; { device = "/dev/disk/by-uuid/509a5842-56fe-40bd-8b00-6bda87e02e5e";