Loading nixos/modules/services/desktops/blueman.nix +16 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,12 @@ 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."; }; }; }; Loading @@ -24,5 +30,15 @@ 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"; }; }; }; } Loading
nixos/modules/services/desktops/blueman.nix +16 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,12 @@ 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."; }; }; }; Loading @@ -24,5 +30,15 @@ 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"; }; }; }; }