From 099101082cec3e8decf8f6fce9e5dd36d52f51e6 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 17 Dec 2022 20:08:59 +0100 Subject: [PATCH] app: add mpris --- hosts/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/home.nix b/hosts/home.nix index 080249a..946af1c 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -174,4 +174,10 @@ name = "JetBrains Mono Medium"; # or FiraCode Nerd Font Mono Medium }; # Cursor is declared under home.pointerCursor }; + systemd.user.services.mpris-proxy = { + Unit.Description = "Mpris proxy"; + Unit.After = [ "network.target" "sound.target" ]; + Service.ExecStart = "${pkgs.bluez}/bin/mpris-proxy"; + Install.WantedBy = [ "default.target" ]; + }; }