mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			498 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			498 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  lib,
 | 
						|
  config,
 | 
						|
  osConfig,
 | 
						|
  namespace,
 | 
						|
  ...
 | 
						|
}: let
 | 
						|
  inherit (lib) mkIf;
 | 
						|
in {
 | 
						|
  programs.youtube-music = {
 | 
						|
    enable = true;
 | 
						|
    options = {
 | 
						|
      tray = true;
 | 
						|
      trayClickPlayPause = true;
 | 
						|
      resumeOnStart = false;
 | 
						|
 | 
						|
      themes = [
 | 
						|
        (mkIf config.catppuccin.enable ./catppuccin-${config.catppuccin.flavor}.css)
 | 
						|
      ];
 | 
						|
 | 
						|
      language = osConfig.${namespace}.system.locale.keymap;
 | 
						|
      autoUpdates = false;
 | 
						|
    };
 | 
						|
 | 
						|
    plugins = {
 | 
						|
      discord.enabled = true;
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |