setup pipewire
This commit is contained in:
		
							parent
							
								
									7f5baabb23
								
							
						
					
					
						commit
						cf0916ca4b
					
				
					 2 changed files with 20 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -4,6 +4,7 @@
 | 
			
		|||
    ./flatpak
 | 
			
		||||
    ./libinput
 | 
			
		||||
    ./ollama
 | 
			
		||||
    ./pipewire
 | 
			
		||||
    ./printing
 | 
			
		||||
    ./udev
 | 
			
		||||
    ./xserver
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										19
									
								
								nixos/fuchsia/services/pipewire/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								nixos/fuchsia/services/pipewire/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
{ pkgs, ... }: {
 | 
			
		||||
  # Realtime scheduler
 | 
			
		||||
  security.rtkit.enable = true;
 | 
			
		||||
 | 
			
		||||
  # Sound server
 | 
			
		||||
  services.pipewire = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
 | 
			
		||||
    # Enable components
 | 
			
		||||
    alsa.enable = true;
 | 
			
		||||
    alsa.support32Bit = true;
 | 
			
		||||
    pulse.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Sound mixer
 | 
			
		||||
  environment.systemPackages = with pkgs; [
 | 
			
		||||
    pulsemixer
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue