diff --git a/users/willifan/applications.nix b/users/willifan/applications.nix index f0965c0..ad6be59 100644 --- a/users/willifan/applications.nix +++ b/users/willifan/applications.nix @@ -20,5 +20,9 @@ obsidian kicad + piper + + virtualbox + ]; } diff --git a/users/willifan/graphical/dev/rust.nix b/users/willifan/graphical/dev/rust.nix index 73db7c4..80d33b3 100644 --- a/users/willifan/graphical/dev/rust.nix +++ b/users/willifan/graphical/dev/rust.nix @@ -3,6 +3,7 @@ environment.systemPackages = with pkgs; [ clang + gcc llvmPackages.bintools rustup diff --git a/users/willifan/graphical/hyprland/common/hyprland.nix b/users/willifan/graphical/hyprland/common/hyprland.nix index b403af2..9c4d244 100644 --- a/users/willifan/graphical/hyprland/common/hyprland.nix +++ b/users/willifan/graphical/hyprland/common/hyprland.nix @@ -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; }; diff --git a/users/willifan/graphical/steam.nix b/users/willifan/graphical/steam.nix index 7317792..106f8c8 100644 --- a/users/willifan/graphical/steam.nix +++ b/users/willifan/graphical/steam.nix @@ -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; + } \ No newline at end of file diff --git a/users/willifan/user.nix b/users/willifan/user.nix index c2892f7..c6e4f9b 100644 --- a/users/willifan/user.nix +++ b/users/willifan/user.nix @@ -6,4 +6,5 @@ extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; []; }; + } \ No newline at end of file