From 8b778c1b339f45ef4bbe0316bb765b42b05abc76 Mon Sep 17 00:00:00 2001 From: Marty Oehme <marty.oehme@gmail.com> Date: Sun, 23 Feb 2025 15:41:56 +0100 Subject: [PATCH] feat(packages): Add bluetooth stack --- books/void_packages.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/books/void_packages.yaml b/books/void_packages.yaml index 5204000..7d202c7 100644 --- a/books/void_packages.yaml +++ b/books/void_packages.yaml @@ -37,6 +37,29 @@ - fontconfig listen: installed-fonts +- name: Install bluetooth + hosts: target_system + become: true + tags: + - bluetooth + tasks: + - name: Install bluetooth packages + community.general.xbps: + name: + - bluez + state: "{{ desired_package_state }}" + notify: installed-bluetooth + + handlers: + - name: Activate bluetooth service + ansible.builtin.file: + force: "yes" + src: "/etc/sv/{{ item }}" + dest: "/etc/runit/runsvdir/default/{{ item }}" + state: link + with_items: [bluetoothd, dbus] + listen: installed-bluetooth + - name: Install basic custom void packages hosts: target_system become: true