remove: vesktop hm module, moved to another repo
This commit is contained in:
		
							parent
							
								
									653640b484
								
							
						
					
					
						commit
						2c0ab4df6c
					
				
					 1 changed files with 0 additions and 33 deletions
				
			
		| 
						 | 
				
			
			@ -1,33 +0,0 @@
 | 
			
		|||
{ config, lib, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
with lib;
 | 
			
		||||
 | 
			
		||||
let 
 | 
			
		||||
  cfg = config.programs.vesktop;
 | 
			
		||||
  package = pkgs.vesktop;
 | 
			
		||||
in {
 | 
			
		||||
 | 
			
		||||
  options = {
 | 
			
		||||
    programs.vesktop = {
 | 
			
		||||
      enable = mkEnableOption
 | 
			
		||||
        "vesktop, a custom client for discord";
 | 
			
		||||
 | 
			
		||||
        theme = mkOption {
 | 
			
		||||
          type = types.str;
 | 
			
		||||
          default = "";
 | 
			
		||||
          description = "Custom css theme for vesktop";
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
        settings = mkOption {
 | 
			
		||||
          type = types.attrs;
 | 
			
		||||
          default = {};
 | 
			
		||||
          description = "Vesktop settings.";
 | 
			
		||||
        };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    config = mkIf cfg.enable {
 | 
			
		||||
      home.pakages = [ package ];
 | 
			
		||||
      xdg.configFile."vesktop/theme/custom.css".text = cfg.theme;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue