mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	♻️⚡️ remove with lib; everywhere and partially switch to mkOpt
				
					
				
			This commit is contained in:
		
							parent
							
								
									c5283fe60b
								
							
						
					
					
						commit
						124d6b7ede
					
				
					 27 changed files with 72 additions and 53 deletions
				
			
		| 
						 | 
				
			
			@ -4,11 +4,12 @@
 | 
			
		|||
  namespace,
 | 
			
		||||
  config,
 | 
			
		||||
  ...
 | 
			
		||||
}: with lib; with lib.${namespace};
 | 
			
		||||
}:
 | 
			
		||||
let
 | 
			
		||||
  inherit (lib) mkEnableOption mkIf mkOption;
 | 
			
		||||
  cfg = config.${namespace}.common.fonts;
 | 
			
		||||
in {
 | 
			
		||||
  options.${namespace}.common.fonts = with types; {
 | 
			
		||||
  options.${namespace}.common.fonts = with lib.types; {
 | 
			
		||||
    enable = mkEnableOption "Enable system font management";
 | 
			
		||||
    fonts = mkOption {
 | 
			
		||||
      type = listOf package;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue