diff --git a/hardware/bluetooth.nix b/hardware/bluetooth.nix index 971b5d0..28b204a 100644 --- a/hardware/bluetooth.nix +++ b/hardware/bluetooth.nix @@ -21,16 +21,8 @@ }; systemd.user.services.blueman-applet = { - description = "Blueman Applet"; - after = [ "multi-user.target" ]; - wantedBy = [ "default.target" ]; - serviceConfig = { - Type = "simple"; - ExecStart = "${blueman}/bin/blueman-applet"; - ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; - KillMode = "process"; - Restart = "on-failure"; - }; + partOf = [ "graphical-session.target" ]; + wantedBy = [ "graphical-session.target" ]; }; }