diff --git a/tasks/arch_graphicals.yml b/tasks/arch_graphicals.yml index 5b5e55a..ed49c9e 100644 --- a/tasks/arch_graphicals.yml +++ b/tasks/arch_graphicals.yml @@ -87,6 +87,8 @@ repo: https://git.opytex.org/lafrite/st.git dest: /home/aur_builder/st register: st_update + become: yes + become_user: aur_builder - name: Install st command: "makepkg -si --noconfirm" diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index 5e45752..df4c724 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -80,11 +80,6 @@ when: prompt == 'fish' register: fishplugin -- name: Run fisher update - shell: fisher - become_user: "{{ me }}" - when: fishconfig.changed or fishplugin.changed - # Vim config - name: Copy .vim/ copy: diff --git a/tasks/gaming.yml b/tasks/gaming.yml index 7a38c43..e2fee50 100644 --- a/tasks/gaming.yml +++ b/tasks/gaming.yml @@ -1,6 +1,34 @@ --- -- name: Install Lutris +- name: "add multilib" + lineinfile: + dest: "/etc/pacman.conf" + state: "present" + line: "[multilib]" + regexp: "^\\[multilib\\]" + insertafter: "^#\\[multilib\\]" + +- name: "add multilib (cont)" + lineinfile: + dest: "/etc/pacman.conf" + state: "present" + line: "Include = /etc/pacman.d/mirrorlist" + insertafter: "^\\[multilib\\]" + regexp: "Include = /etc/pacman.d/mirrorlist" + +- name: Update pacman cache + pacman: + update_cache: yes + +- name: Ensure a locale exists + locale_gen: + name: en_US.UTF-8 + state: present + +- name: Install Lutris, steam and fonts pacman: name: - lutris + - steam + - ttf-liberation state: present +