From 43d3ef1fede2f7b03be89899ed7b53368137e46a Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 25 May 2025 10:30:25 +0200 Subject: [PATCH] georg: configure spotifyd to maybe not crash, might even be functional? --- hosts/georg/configuration.nix | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/hosts/georg/configuration.nix b/hosts/georg/configuration.nix index ee22a4f..f628c45 100644 --- a/hosts/georg/configuration.nix +++ b/hosts/georg/configuration.nix @@ -8,7 +8,7 @@ (fp /modules/grzegorz.nix) ]; - services.spotifyd.enable = true; + boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -25,6 +25,26 @@ # List services that you want to enable: + + + services.spotifyd = { + enable = true; + settings.global = { + device_name = "georg"; + use_mpris = false; + #dbus_type = "system"; + #zeroconf_port = 1234; + }; + }; + + networking.firewall.allowedTCPPorts = [ + # config.services.spotifyd.settings.zeroconf_port + 5353 # spotifyd is its own mDNS service wtf + ]; + + + + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave