diff --git a/modules/audio.nix b/modules/audio.nix index 68277a0..f84868c 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.user.services.mpd-mpris.wantedBy = [ "default.target" ]; + + enable = true; + wantedBy = [ "multi-user.target" ]; + }; }