lots of stuff:
Moved syncthing to system service Restic actually works now removed some old system configs. formatting.
This commit is contained in:
		
							parent
							
								
									c42e33770e
								
							
						
					
					
						commit
						f9632c8fc3
					
				
					 18 changed files with 99 additions and 291 deletions
				
			
		| 
						 | 
				
			
			@ -12,7 +12,7 @@ in {
 | 
			
		|||
    network.startWhenNeeded = true;
 | 
			
		||||
    playlistDirectory = "${config.services.mpd.musicDirectory}/.mpd/playlists";
 | 
			
		||||
    extraConfig =
 | 
			
		||||
      (''
 | 
			
		||||
      ''
 | 
			
		||||
        restore_paused "yes"
 | 
			
		||||
        auto_update "yes"
 | 
			
		||||
        replaygain "auto"
 | 
			
		||||
| 
						 | 
				
			
			@ -23,7 +23,7 @@ in {
 | 
			
		|||
          name "PipeWire Sound Server"
 | 
			
		||||
        }
 | 
			
		||||
      ''
 | 
			
		||||
       + lib.optionalString visualizer
 | 
			
		||||
      + lib.optionalString visualizer
 | 
			
		||||
      ''
 | 
			
		||||
        #for ncmpcpp visualizer
 | 
			
		||||
        audio_output {
 | 
			
		||||
| 
						 | 
				
			
			@ -32,7 +32,7 @@ in {
 | 
			
		|||
            path "/tmp/mpd.fifo"
 | 
			
		||||
            format "44100:16:2"
 | 
			
		||||
        }
 | 
			
		||||
      ''); 
 | 
			
		||||
      '';
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.mpd-mpris.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,8 +0,0 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  services.syncthing.enable = true;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue