From 657c4fd6738ed6737c83364adfffabaa8a14f273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 12 Jul 2023 12:32:04 +0200 Subject: [PATCH] fix(spotifyd): disable dbus --- systems/zaatar/spotifyd.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/systems/zaatar/spotifyd.nix b/systems/zaatar/spotifyd.nix index 353ae72..21e8ddc 100644 --- a/systems/zaatar/spotifyd.nix +++ b/systems/zaatar/spotifyd.nix @@ -1,4 +1,11 @@ {config, ...}: { + nixpkgs.config.packageOverrides = pkgs: { + # mpris is a dbus service for controlling all music players with e.g. playerctl + # I do not need this, because I only interact with the service via Spotify Connect + # otherẃise it will pull in DBus which fails without X11 + spotifyd = pkgs.spotifyd.overrideAttrs {withMPris = false;}; + }; + services.spotifyd = { enable = true; settings = {