enabled qmk if via keyboard is enabled
This commit is contained in:
		
							parent
							
								
									7923f493eb
								
							
						
					
					
						commit
						1be7eb162a
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								modules/nixos-modules/keyboard.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								modules/nixos-modules/keyboard.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | ||||||
|  | { | ||||||
|  |   lib, | ||||||
|  |   config, | ||||||
|  |   pkgs, | ||||||
|  |   ... | ||||||
|  | }: { | ||||||
|  |   config = lib.mkIf config.host.hardware.viaKeyboard { | ||||||
|  |     hardware.keyboard.qmk.enable = true; | ||||||
|  |   }; | ||||||
|  | 
 | ||||||
|  |   services.udev.packages = [pkgs.via]; | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue