--- - name: Initial installation of WSL arch hosts: localhost,all become: yes pre_tasks: - name: Install Base stuff import_tasks: modules/base.yml - name: Install packages from AUR kewlfft.aur.aur: use: paru name: ly,openssh,sway,foot,foot-terminfo,waybar,ttf-font-awesome,sway-launcher-desktop,pipewire,pipewire-pulse,bluez,bluez-utils,firefox,archlinux-wallpaper,iwd,btop,light,wob,udiskie,ranger,mako,micro,man,wdisplays,swayidle,swaylock-effects-git,pamixer,qt5-wayland state: latest become: yes become_user: aur_builder - name: Add WLR_RENDERER_ALLOW_SOFTWARE to /etc/environment, needed for testing in VM ansible.builtin.lineinfile: path: /etc/environment regexp: '^WLR_RENDERER_ALLOW_SOFTWARE=' line: WLR_RENDERER_ALLOW_SOFTWARE=1 - name: Clone dotfiles ansible.builtin.git: repo: https://gitea.maiertobi.de/tobimai/dotfiles.git dest: /home/tobi/git/dotfiles - name: Ensures directories exist ansible.builtin.file: path: /home/tobi/{{ item }} state: directory group: tobi owner: tobi mode: '0744' loop: - .config/sway - .config/foot - .config/waybar - .config/mako - git - name: Copy config files copy: src: //home/tobi/git/dotfiles/{{ item.src }} dest: /home/tobi/.config/{{ item.dest }} remote_src: yes owner: tobi group: tobi with_items: - { src: 'sway_config', dest: 'sway/config' } - { src: 'foot.ini', dest: 'foot/foot.ini' } - { src: 'waybar/waybar.config', dest: 'waybar/config' } - { src: 'waybar/style.css', dest: 'waybar/style.css' } - { src: 'mako.config', dest: 'mako/config' } - name: Enable services ansible.builtin.service: name: "{{ item }}" enabled: yes with_items: - ly - iwd - name: Install More apps kewlfft.aur.aur: name: visual-studio-code-bin,cargo,python,nextcloud-client state: latest use: paru become: yes become_user: aur_builder