diff --git a/hosts/bemmer/configuration.nix b/hosts/bemmer/configuration.nix index e7d0951..ebe53b2 100644 --- a/hosts/bemmer/configuration.nix +++ b/hosts/bemmer/configuration.nix @@ -30,7 +30,6 @@ nixpkgs.system = "aarch64-linux"; hardware.raspberry-pi."4".fkms-3d.enable = true; - boot.tmpOnTmpfs = true; # building stuff on sd-card is slow system.stateVersion = "21.05"; } diff --git a/shared-services/spotifyd.nix b/shared-services/spotifyd.nix index 1988632..7cf79ce 100644 --- a/shared-services/spotifyd.nix +++ b/shared-services/spotifyd.nix @@ -1,10 +1,12 @@ -{ config, ... }: +{ ... }: { services.spotifyd = { enable = true; - settings.zeroconf_port = 18572; + config = '' + zeroconf_port = 18572 + ''; }; - networking.firewall.allowedTCPPorts = [ config.services.spotifyd.settings.zeroconf_port ]; + networking.firewall.allowedTCPPorts = [ 18572 ]; }