feat(wayland): Add wayland stack

This commit is contained in:
Marty Oehme 2025-02-21 16:02:11 +01:00
parent d8450a8ac9
commit 6aa2188f50
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 39 additions and 0 deletions

View file

@ -18,6 +18,9 @@
- name: Import chroot void network tasks
ansible.builtin.import_playbook: void_network.yaml
- name: Import chroot void wayland tasks
ansible.builtin.import_playbook: void_wayland.yaml
- name: Import chroot user management tasks
ansible.builtin.import_playbook: void_user.yaml

36
void_wayland.yaml Normal file
View file

@ -0,0 +1,36 @@
- name: Install void wayland environment
hosts: guest
become: true
vars:
ansible_chroot_exe: arch-chroot
tasks:
- name: Install intel wayland drivers
community.general.xbps:
name:
- mesa-dri
state: present
- name: Install wayland packages
community.general.xbps:
name:
- dbus
- seatd
- turnstile
state: present
notify: installed-wayland
- name: Activate wayland services
ansible.builtin.file:
force: "yes"
src: "/etc/sv/{{ item }}"
dest: "/etc/runit/runsvdir/default/{{ item }}"
state: link
with_items: [dbus, turnstiled, seatd]
- name: Install wlr desktop portals
community.general.xbps:
name:
- xdg-desktop-portal
- xdg-desktop-portal-wlr
state: present
notify: installed-wayland