mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Add majorVersion option to 6.6.x
This commit is contained in:
		@@ -28,7 +28,7 @@ let
 | 
			
		||||
 | 
			
		||||
in {
 | 
			
		||||
  options.microsoft-surface.kernelVersion = mkOption {
 | 
			
		||||
    type = types.enum [ version ];
 | 
			
		||||
    type = types.enum [ version majorVersion ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  config = mkIf (cfg.kernelVersion == version || cfg.kernelVersion == majorVersion) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user