diff --git a/nixos/dustbowl.nix b/nixos/dustbowl.nix index 18db5d0..bf3096d 100644 --- a/nixos/dustbowl.nix +++ b/nixos/dustbowl.nix @@ -205,6 +205,19 @@ }; }; + systemd.user.services.mpris-proxy = { + description = "Bluetooth mpris-player"; + wantedBy = [ "graphical-session.target" ]; + partOf = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = '' + ${pkgs.bluez}/bin/mpris-proxy + ''; + RestartSec = 3; + Restart = "always"; + }; + }; + # Hardware # Enable sound. sound.enable = true;