mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	refactor(module): clean up some module inputs
feat(module): add use-lix option to nix module feat(module): update fish config for catppuccin
This commit is contained in:
		
							parent
							
								
									3f767068d2
								
							
						
					
					
						commit
						fde4abd59d
					
				
					 16 changed files with 173 additions and 115 deletions
				
			
		| 
						 | 
				
			
			@ -7,16 +7,16 @@
 | 
			
		|||
  ...
 | 
			
		||||
}: with lib; with lib.${namespace};
 | 
			
		||||
let
 | 
			
		||||
  cfg = config.${namespace}.system.fonts;
 | 
			
		||||
  cfg = config.${namespace}.common.fonts;
 | 
			
		||||
in {
 | 
			
		||||
  options.${namespace}.system.fonts = {
 | 
			
		||||
  options.${namespace}.common.fonts = {
 | 
			
		||||
    enable = mkEnableOption "Enable system font management";
 | 
			
		||||
    fonts = mkOption {
 | 
			
		||||
      type = types.package;
 | 
			
		||||
      default = [ ];
 | 
			
		||||
      example = [ noto-fonts noto-fonts-emoji ];
 | 
			
		||||
      description = "Install additional font packages";
 | 
			
		||||
    }
 | 
			
		||||
    #fonts = mkOption {
 | 
			
		||||
    #  type = types.package;
 | 
			
		||||
    #  default = noto-fonts;
 | 
			
		||||
    #  example = [ noto-fonts noto-fonts-emoji ];
 | 
			
		||||
    #  description = "Install additional font packages";
 | 
			
		||||
    #};
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  config = mkIf cfg.enable {
 | 
			
		||||
| 
						 | 
				
			
			@ -31,7 +31,7 @@ in {
 | 
			
		|||
      noto-fonts-cjk-sans
 | 
			
		||||
      noto-fonts-cjk-serif
 | 
			
		||||
      noto-fonts-emoji
 | 
			
		||||
      (nerdfonts.override { fonts = [ "Hack" ]; })
 | 
			
		||||
    ] ++ cfg.fonts;
 | 
			
		||||
      nerdfonts
 | 
			
		||||
    ]; # ++ cfg.fonts;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue