Compare commits

...

2 commits

Author SHA1 Message Date
7a0544f69a
tmpfsOnTmpfs true on bemmer 2021-10-25 00:12:51 +02:00
51a691efbf
fix deprecation warning
use settings attribute
2021-10-24 23:38:49 +02:00
2 changed files with 4 additions and 5 deletions

View file

@ -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";
} }

View file

@ -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 ];
} }