From 6fe7956f43b07cf0cb7eed7d6c9de638ea5e335a 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 gnupg and smartcard play

---
 books/void_packages.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/books/void_packages.yaml b/books/void_packages.yaml
index 7d202c7..c826dac 100644
--- a/books/void_packages.yaml
+++ b/books/void_packages.yaml
@@ -60,6 +60,24 @@
       with_items: [bluetoothd, dbus]
       listen: installed-bluetooth
 
+- name: Install gnupg
+  hosts: target_system
+  become: true
+  tags:
+    - packages
+    - gpg
+  tasks:
+    - name: Install a bunch of base custom stuff
+      community.general.xbps:
+        name: [gnupg, gnupg2-scdaemon]
+        state: "{{ desired_package_state }}"
+  handlers:
+    - name: Put user in plugdev group
+      ansible.builtin.user:
+        name: "{{ user_name }}"
+        groups: [plugdev]
+        append: true
+
 - name: Install basic custom void packages
   hosts: target_system
   become: true