audioshit
This commit is contained in:
		
							parent
							
								
									0cd4c7d5f0
								
							
						
					
					
						commit
						3564def1ff
					
				@ -14,6 +14,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  programs.home-manager = {
 | 
					  programs.home-manager = {
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
    path = "https://github.com/rycee/home-manager/archive/release-20.09.tar.gz";
 | 
					    path = "https://github.com/rycee/home-manager/archive/release-21.05.tar.gz";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -1,19 +1,17 @@
 | 
				
			|||||||
{pkgs, config, lib, ...}:
 | 
					{pkgs, config, lib, ...}:
 | 
				
			||||||
 | 
					let
 | 
				
			||||||
 | 
					  audio-plugins = pkgs.symlinkJoin { name = "audio-plugins"; paths = [ pkgs.lsp-plugins pkgs.speech-denoiser ];};
 | 
				
			||||||
 | 
					in
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  config = lib.mkIf config.profiles.xsession.enable {
 | 
					  config = lib.mkIf config.profiles.xsession.enable {
 | 
				
			||||||
    home.packages = [
 | 
					    home.packages = [ ] ++ lib.optionals config.profiles.gui.enable [
 | 
				
			||||||
      pkgs.jack2
 | 
					 | 
				
			||||||
    ] ++ lib.optionals config.profiles.gui.enable [
 | 
					 | 
				
			||||||
      pkgs.pavucontrol
 | 
					      pkgs.pavucontrol
 | 
				
			||||||
      pkgs.qjackctl
 | 
					      pkgs.carla
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
#    home.file.pulse = {
 | 
					    home.file."audio-plugins" = {
 | 
				
			||||||
#      target = ".config/pulse/client.conf";
 | 
					      source = "${audio-plugins}/lib";
 | 
				
			||||||
#      text = ''
 | 
					      target = "audio-plugins";
 | 
				
			||||||
#        daemon-binary=/var/run/current-system/sw/bin/pulseaudio
 | 
					    };
 | 
				
			||||||
#      '';
 | 
					 | 
				
			||||||
#    };
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user