Skip to content

Commit

Permalink
[𝚫] (bluetooth): media control through mpris-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Icy-Thought committed Dec 16, 2023
1 parent 5e75153 commit 4890d4a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/hardware/bluetooth.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,12 @@ in {
enable = true;
disabledPlugins = ["sap"];
};

systemd.user.services.mpris-proxy = {
description = "mpris-proxy -> bluetooth (media) ctrl";
after = ["network.target" "sound.target"];
wantedBy = ["default.target"];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
};
}

0 comments on commit 4890d4a

Please sign in to comment.