Revert "nixos/blueman: Add option to enable Blueman tray applet" (#521288)

This commit is contained in:
Sandro
2026-05-17 19:19:57 +00:00
committed by GitHub
@@ -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";
};
};
};
}