From f909927bce0ff5b7574f8f9ca59625d3aa6cfdec Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Fri, 18 Nov 2022 22:36:37 +0100 Subject: [PATCH] dustbowl: add mpris-proxy --- nixos/dustbowl.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nixos/dustbowl.nix b/nixos/dustbowl.nix index fd41d21..d4bdd5c 100644 --- a/nixos/dustbowl.nix +++ b/nixos/dustbowl.nix @@ -274,6 +274,19 @@ }; }; + systemd.user.services.mpris-proxy = { + description = "Bluetooth MPRIS Proxy"; + wantedBy = [ "graphical-session.target" ]; + partOf = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = '' + ${pkgs.bluez}/bin/mpris-proxy + ''; + RestartSec = 3; + Restart = "always"; + }; + }; + systemd.user.services.swayidle = { description = "swayidle idle manager for Wayland"; wantedBy = [ "graphical-session.target" ];