nixos/services.blueman: remove with lib;
				
					
				
			This commit is contained in:
		
							parent
							
								
									24f82fc6b5
								
							
						
					
					
						commit
						38b5d41259
					
				| @ -1,20 +1,17 @@ | ||||
| # blueman service | ||||
| { config, lib, pkgs, ... }: | ||||
| 
 | ||||
| with lib; | ||||
| 
 | ||||
| let | ||||
|   cfg = config.services.blueman; | ||||
| in { | ||||
|   ###### interface | ||||
|   options = { | ||||
|     services.blueman = { | ||||
|       enable = mkEnableOption "blueman, a bluetooth manager"; | ||||
|       enable = lib.mkEnableOption "blueman, a bluetooth manager"; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   ###### implementation | ||||
|   config = mkIf cfg.enable { | ||||
|   config = lib.mkIf cfg.enable { | ||||
| 
 | ||||
|     environment.systemPackages = [ pkgs.blueman ]; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Felix Buehler
						Felix Buehler