mirror of
				https://github.com/materusPL/Nixerus.git
				synced 2025-11-03 22:20:27 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			403 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			403 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, pkgs, lib, materusPkgs, ... }:
 | 
						|
let
 | 
						|
  packages = config.materus.profile.packages;
 | 
						|
  cfg = config.materus.profile.fonts;
 | 
						|
in
 | 
						|
{
 | 
						|
  options.materus.profile.fonts.enable = materusPkgs.lib.mkBoolOpt config.materus.profile.enableDesktop "Enable materus font settings";
 | 
						|
  
 | 
						|
  config = lib.mkIf cfg.enable {
 | 
						|
    fonts.fontconfig.enable = lib.mkDefault true;
 | 
						|
    home.packages = packages.list.fonts;
 | 
						|
  };
 | 
						|
} |