Added a carla service
This commit is contained in:
		
							parent
							
								
									b7c1710046
								
							
						
					
					
						commit
						435787f440
					
				| @ -88,20 +88,25 @@ | |||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     # Dedicate more memory to network interfaces |     # Carla service | ||||||
|     boot.kernel.sysctl = { |     systemd.user.services.carla = { | ||||||
|       "net.core.rmem_default" = 1048576; |       description = "Carla Service"; | ||||||
|       "net.core.rmem_max" = 16777216; |       wantedBy = [ "default.target" ]; | ||||||
|       "net.core.wmem_default" = 1048576; |       after = [ | ||||||
|       "net.core.wmem_max" = 16777216; |         "network.target" | ||||||
|       "net.core.optmem_max" = 65536; |         "sound.target" | ||||||
|       "net.ipv4.tcp_rmem" = "4096 1048576 2097152"; |       ]; | ||||||
|       "net.ipv4.tpc_wmem" = "4096 65536 16777216"; |       unitConfig = { | ||||||
|       "net.ipv4.udp_rmem_min" = 8192; |         ConditionUser = "mixer"; | ||||||
|       "net.ipv4.udp_wmem_min" = 8192; |       }; | ||||||
|  |       serviceConfig = { | ||||||
|  |         ExecStart = "${pkgs.carla}/bin/carla -n"; | ||||||
|  |         Restart = "always"; | ||||||
|  |         RestartSec = 5; | ||||||
|  |       }; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     # Create null sink for spotifyd |     # Create null sinks | ||||||
|     services.pipewire.extraConfig.pipewire."91-null-sinks" = { |     services.pipewire.extraConfig.pipewire."91-null-sinks" = { | ||||||
|       "context.objects" = [ |       "context.objects" = [ | ||||||
|         { |         { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis