Compare commits
2 commits
349bc436a4
...
7a0544f69a
Author | SHA1 | Date | |
---|---|---|---|
7a0544f69a | |||
51a691efbf |
2 changed files with 4 additions and 5 deletions
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
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,12 +1,10 @@
|
||||||
{ ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.spotifyd = {
|
services.spotifyd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = ''
|
settings.zeroconf_port = 18572;
|
||||||
zeroconf_port = 18572
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 18572 ];
|
networking.firewall.allowedTCPPorts = [ config.services.spotifyd.settings.zeroconf_port ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue