extraction de pulseaudio comme service
							parent
							
								
									40ea98af6b
								
							
						
					
					
						commit
						2df8cf6695
					
				| @ -0,0 +1,17 @@ | ||||
| { config, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.r6d.config-generator; | ||||
|   computers = config.r6d.computers; | ||||
|   profiles = config.r6d.profiles; | ||||
|   mkIf = pkgs.lib.mkIf; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|   # Pulse Audio | ||||
|   hardware.pulseaudio = mkIf profiles.isDesktop { | ||||
|     enable = true; | ||||
|     support32Bit = true; | ||||
|   }; | ||||
|   environment.etc."pulse/daemon.conf".text = "flat-volumes = no"; | ||||
| } | ||||
					Loading…
					
					
				
		Reference in New Issue