add: discord
This commit is contained in:
		
							parent
							
								
									53a7e7f576
								
							
						
					
					
						commit
						bfbd8c11e3
					
				
					 4 changed files with 28 additions and 1 deletions
				
			
		|  | @ -0,0 +1,13 @@ | |||
| { lib, ... }: | ||||
| 
 | ||||
| { | ||||
|   imports = [ | ||||
|     ./discord | ||||
|   ]; | ||||
| 
 | ||||
|   options.programs.desktop.communication = { | ||||
|     discord = { | ||||
|       enable = lib.mkEnableOption "Enable discord module"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										11
									
								
								home/programs/desktop/communication/discord/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								home/programs/desktop/communication/discord/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| { lib, config, pkgs, ... }:  | ||||
| 
 | ||||
| let | ||||
|   cfg = config.programs.desktop.communication.discord; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     home.packages = with pkgs; [ vesktop ]; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue