It turns out that all other methods I have tried overrides disabling the touchpad while typing. Only interception-tools seems to work.
		
			
				
	
	
		
			22 lines
		
	
	
		
			421 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			421 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   description = "My nixos config";
 | |
| 
 | |
|   inputs = {
 | |
|     nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
 | |
|   };
 | |
| 
 | |
|   outputs = { self, nixpkgs, ... } @ inputs:
 | |
|   let
 | |
|     inherit (self) outputs;
 | |
|     system = "x86_64-linux";
 | |
|   in
 | |
|   {
 | |
|     nixosConfigurations = {
 | |
|       macbook = nixpkgs.lib.nixosSystem {
 | |
|         specialArgs = { inherit inputs outputs; };
 | |
|         modules = [ ./nixos/configuration.nix ];
 | |
|       };
 | |
|     };
 | |
|   };
 | |
| }
 |