waybar: Autostart blueman-applet

upower
Simon Bruder 2021-08-28 16:39:37 +02:00
parent 8c5a0e8a38
commit a5fde0764d
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 11 additions and 0 deletions

View File

@ -287,4 +287,15 @@ in
RestartSec = "1s";
};
};
# TODO: remove when https://github.com/nix-community/home-manager/issues/2064
# is resolved
systemd.user.targets.tray = {
Unit = {
Description = "Home Manager System Tray";
Requires = [ "graphical-session-pre.target" ];
};
};
services.blueman-applet.enable = lib.mkIf nixosConfig.sbruder.full true;
}