forked from Yuka/c3h-nixfiles
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…
Reference in a new issue