Compare commits

...

4 commits

Author SHA1 Message Date
willifan
0d64bdbd47 Merge remote-tracking branch 'origin/main' 2024-05-25 16:16:05 +02:00
willifan
458f4aeb38 fix mouse getting recognized as gamepad 2024-05-25 16:08:36 +02:00
willifan
e2a5d71e6e enable steam gamescope session 2024-05-23 21:13:52 +02:00
willifan
e01f4bbf61 added reqired rustup dependencies 2024-05-23 19:08:01 +02:00
5 changed files with 21 additions and 2 deletions

View file

@ -20,5 +20,9 @@
obsidian
kicad
piper
virtualbox
];
}

View file

@ -3,6 +3,7 @@
environment.systemPackages = with pkgs; [
clang
gcc
llvmPackages.bintools
rustup

View file

@ -44,7 +44,7 @@
touchpad.natural_scroll = "yes";
sensitivity = -0.8; # -1.0 - 1.0, 0 means no modification.
sensitivity = 0; # -1.0 - 1.0, 0 means no modification.
numlock_by_default = 1;
special_fallthrough = true;
};

View file

@ -1,10 +1,23 @@
{ pkgs, home-manager, ... }:
{
programs.steam.enable = true;
programs.steam = {
enable = true;
gamescopeSession = {
enable = true;
};
};
hardware.steam-hardware.enable = true;
services.udev.extraRules = ''
SUBSYSTEM=="tty", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2102", MODE="0660", TAG+="uaccess"
# Disable mouse as gamepad
ACTION=="add", SUBSYSTEM=="input", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1906", RUN+="/bin/sh -c 'chmod 000 /dev/input/by-id/usb-ASUSTeK_ROG_PUGIO_II-if03-joystick'"
ACTION=="add", SUBSYSTEM=="input", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1908", RUN+="/bin/sh -c 'chmod 000 /dev/input/by-id/usb-ASUSTeK_ROG_PUGIO_II-if03-joystick'"
ACTION=="add", SUBSYSTEM=="input", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1906", RUN+="/bin/sh -c 'chmod 000 /dev/input/by-id/usb-ASUSTeK_ROG_PUGIO_II-if03-event-joystick'"
ACTION=="add", SUBSYSTEM=="input", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1908", RUN+="/bin/sh -c 'chmod 000 /dev/input/by-id/usb-ASUSTeK_ROG_PUGIO_II-if03-event-joystick'"
'';
services.ratbagd.enable = true;
}

View file

@ -6,4 +6,5 @@
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
};
}