Revert "nixos/blueman: Add option to enable Blueman tray applet"

This commit is contained in:
bokicoder
2026-05-18 00:05:07 +08:00
committed by GitHub
parent a0cf521e33
commit 43927d5430
@@ -13,12 +13,6 @@ in
options = {
services.blueman = {
enable = lib.mkEnableOption "blueman, a bluetooth manager";
withApplet = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Whether to spawn the Blueman tray applet.";
};
};
};
@@ -30,15 +24,5 @@ in
services.dbus.packages = [ pkgs.blueman ];
systemd.packages = [ pkgs.blueman ];
systemd.user.services.blueman-applet = lib.mkIf cfg.withApplet {
description = "Blueman tray applet";
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = "${pkgs.blueman}/bin/blueman-applet";
Restart = "on-failure";
};
};
};
}