From 9ad0dfc68b2ad6e20a554dcf1d4be81541913378 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 8 Apr 2026 15:28:01 +0200 Subject: [PATCH] Enable mpd-mpris service declaratively --- modules/audio.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/audio.nix b/modules/audio.nix index 68277a0..47d5780 100644 --- a/modules/audio.nix +++ b/modules/audio.nix @@ -102,4 +102,12 @@ in bandcamp.identity = bandcamp_token; }; }; + + # Interface with Mopidy using MPRIS + systemd.packages = [ mpd-mpris ]; + + systemd.services.mpd-mpris = { + enable = true; + wantedBy = [ "multi-user.target" ]; + }; }