31 lines
		
	
	
		
			439 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			439 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  config,
 | 
						|
  lib,
 | 
						|
  pkgs,
 | 
						|
  ...
 | 
						|
}:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [ ];
 | 
						|
 | 
						|
  options.me = {
 | 
						|
    blank.enable = lib.mkOption {
 | 
						|
      type = lib.types.bool;
 | 
						|
      default = false;
 | 
						|
      example = true;
 | 
						|
      description = "Whether we want to install blank.";
 | 
						|
    };
 | 
						|
  };
 | 
						|
 | 
						|
  config = lib.mkIf config.me.blank.enable (
 | 
						|
    lib.mkMerge [
 | 
						|
      {
 | 
						|
        home.packages = with pkgs; [
 | 
						|
        ];
 | 
						|
      }
 | 
						|
      (lib.mkIf config.me.graphical {
 | 
						|
      })
 | 
						|
    ]
 | 
						|
  );
 | 
						|
}
 |