Compare commits
	
		
			4 commits
		
	
	
		
			ffd90bf808
			...
			0d64bdbd47
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							 | 
						0d64bdbd47 | ||
| 
							 | 
						458f4aeb38 | ||
| 
							 | 
						e2a5d71e6e | ||
| 
							 | 
						e01f4bbf61 | 
					 5 changed files with 21 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -20,5 +20,9 @@
 | 
			
		|||
    obsidian
 | 
			
		||||
    kicad
 | 
			
		||||
 | 
			
		||||
    piper
 | 
			
		||||
 | 
			
		||||
    virtualbox
 | 
			
		||||
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,6 +3,7 @@
 | 
			
		|||
  environment.systemPackages = with pkgs; [
 | 
			
		||||
 | 
			
		||||
    clang
 | 
			
		||||
    gcc
 | 
			
		||||
    llvmPackages.bintools
 | 
			
		||||
    rustup
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
        };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -6,4 +6,5 @@
 | 
			
		|||
    extraGroups = [ "networkmanager" "wheel" ];
 | 
			
		||||
    packages = with pkgs; [];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue