Compare commits
No commits in common. "7a0544f69acf5d1c58c9519fedb84c27051050fb" and "349bc436a448a7df1023b4954650f5f35249b389" have entirely different histories.
7a0544f69a
...
349bc436a4
2 changed files with 5 additions and 4 deletions
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
nixpkgs.system = "aarch64-linux";
|
nixpkgs.system = "aarch64-linux";
|
||||||
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||||
boot.tmpOnTmpfs = true; # building stuff on sd-card is slow
|
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
{ config, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.spotifyd = {
|
services.spotifyd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.zeroconf_port = 18572;
|
config = ''
|
||||||
|
zeroconf_port = 18572
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ config.services.spotifyd.settings.zeroconf_port ];
|
networking.firewall.allowedTCPPorts = [ 18572 ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue