mpd: setup mpdris2
This commit is contained in:
		
							parent
							
								
									195011e11e
								
							
						
					
					
						commit
						9a0396cbe0
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -178,7 +178,7 @@ in {
 | 
			
		|||
  };
 | 
			
		||||
  services.mpd = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    musicDirectory = "~/Música";
 | 
			
		||||
    musicDirectory = config.home.homeDirectory + "/Música";
 | 
			
		||||
    extraConfig = ''
 | 
			
		||||
      restore_paused "yes"
 | 
			
		||||
      auto_update "yes"
 | 
			
		||||
| 
						 | 
				
			
			@ -190,6 +190,11 @@ in {
 | 
			
		|||
      filesystem_charset    "UTF-8"
 | 
			
		||||
    '';
 | 
			
		||||
  };
 | 
			
		||||
  services.mpdris2 = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    multimediaKeys = true;
 | 
			
		||||
    notifications = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # This value determines the Home Manager release that your
 | 
			
		||||
  # configuration is compatible with. This helps avoid breakage
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue