From 5ec285e329afa188212da759cc4be674e8e9fbff Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Wed, 16 Jan 2019 23:31:35 +0100 Subject: [PATCH 1/3] activation du module hid_steam --- systems/PC-Fixe/hardware-configuration.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/systems/PC-Fixe/hardware-configuration.nix b/systems/PC-Fixe/hardware-configuration.nix index eeebbd8..2439beb 100644 --- a/systems/PC-Fixe/hardware-configuration.nix +++ b/systems/PC-Fixe/hardware-configuration.nix @@ -11,7 +11,6 @@ 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.extraModulePackages = [ ]; - boot.blacklistedKernelModules = [ "hid-steam" ]; fileSystems."/" = { device = "/dev/disk/by-uuid/509a5842-56fe-40bd-8b00-6bda87e02e5e"; From 54539eb80e92614e099ec0a7d374f7fa4636dc2b Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Wed, 16 Jan 2019 23:33:01 +0100 Subject: [PATCH 2/3] =?UTF-8?q?d=C3=A9sactivation=20joystick=20Corsair=20K?= =?UTF-8?q?70?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Un joystick suplémentaire correspondant au clavier était ajouté dans /dev/input/js* rendant Rocket League injouable. Cette règle supprime directement ce joystick --- systems/PC-Fixe/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index 8801241..f91e7f3 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -37,6 +37,11 @@ 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.networkmanager.enable = true; # Enables wireless support via wpa_supplicant. From 20d2f30fc7deb1e9546bb89b071f062f56808413 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Wed, 16 Jan 2019 23:35:32 +0100 Subject: [PATCH 3/3] Wine 64 bits --- systems/PC-Fixe/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index f91e7f3..bb74792 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -56,7 +56,7 @@ nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ filezilla - wineStaging + wineWowPackages.staging winetricks qbittorrent transmission-remote-gtk