From d4d0a68e63b5361099594c8e2695118d3c636149 Mon Sep 17 00:00:00 2001 From: Marty Oehme <contact@martyoeh.me> Date: Thu, 27 Feb 2025 09:29:33 +0100 Subject: [PATCH] feat(base): Set up iwd wireless service --- README.md | 2 +- books/void_base.yaml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c82bee3..9529ac7 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ This is primarily made for _my_ setup to quickly get void linux up and running f - could maybe symlink to `booster-void.img` and `initramfs-void.img`? - and then do a search and add subitems for each 6.12.xyz kernel found? -- wifi setup ## Package wishlist @@ -36,3 +35,4 @@ packages to build xbps-src style: - [ ] netbird - wifi setup + - [ ] impala (iwd TUI) diff --git a/books/void_base.yaml b/books/void_base.yaml index 296f7a8..88efe1b 100644 --- a/books/void_base.yaml +++ b/books/void_base.yaml @@ -132,6 +132,25 @@ with_items: [chronyd] listen: installed-chrony +- name: Set up wireless networking + hosts: target_system + become: true + tags: + - wireless + - iwd + tasks: + - name: Install iwd + community.general.xbps: + name: + - iwd + state: present + + - name: Activate wireless networking service + ansible.builtin.file: + src: "/etc/sv/iwd" + dest: "/etc/runit/runsvdir/default/iwd" + state: link + - name: Set up snapper backups hosts: target_system become: true