From ecf15efb0ee3faf74a63edbf65701c75283ce2fc Mon Sep 17 00:00:00 2001 From: b12f Date: Wed, 30 Oct 2024 22:44:12 +0100 Subject: [PATCH] modules/bluetooth: fix blueman-applet service config --- modules/bluetooth/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/bluetooth/default.nix b/modules/bluetooth/default.nix index 629ee55..8e440c1 100644 --- a/modules/bluetooth/default.nix +++ b/modules/bluetooth/default.nix @@ -23,6 +23,18 @@ }; services.blueman.enable = true; + home-manager.users."${config.pub-solar.user.name}" = { + services.blueman-applet.enable = true; + systemd.user.services.blueman-applet = { + Unit = { + BindsTo = ["sway-session.target"]; + After = lib.mkForce ["sway-session.target"]; + Requires = lib.mkForce [ ]; + }; + Install.WantedBy = [ "sway-session.target" ]; + }; + }; + environment.etc."wireplumber/bluetooth.lua.d/51-bluez-config.lua" = { text = '' bluez_monitor.properties = {