fix deprecation warning
use settings attribute
This commit is contained in:
		
							parent
							
								
									349bc436a4
								
							
						
					
					
						commit
						51a691efbf
					
				
					 1 changed files with 3 additions and 5 deletions
				
			
		|  | @ -1,12 +1,10 @@ | |||
| { ... }: | ||||
| { config, ... }: | ||||
| 
 | ||||
| { | ||||
|   services.spotifyd = { | ||||
|     enable = true; | ||||
|     config = '' | ||||
|       zeroconf_port = 18572 | ||||
|     ''; | ||||
|     settings.zeroconf_port = 18572; | ||||
|   }; | ||||
| 
 | ||||
|   networking.firewall.allowedTCPPorts = [ 18572 ]; | ||||
|   networking.firewall.allowedTCPPorts = [ config.services.spotifyd.settings.zeroconf_port ]; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue