- name: copy reflector configuration become: true template: src: 'templates/reflector.j2' dest: '/etc/xdg/reflector/reflector.conf' owner: root group: root mode: '0600' # started by weekly timer - name: disable reflector become: true systemd: name: reflector state: stopped enabled: false - name: copy pacman configuration become: true template: src: 'templates/pacman.j2' dest: '/etc/pacman.conf' owner: root group: root mode: '0644' - name: create extra conf become: true file: path: '/etc/pacman.d/extra.conf' owner: root group: root state: touch mode: '0644' - name: create alacritty configuration dir file: path: '{{ xdg_config_dir }}/alacritty' state: directory - name: copy alacritty configuration template: dest: '{{ xdg_config_dir }}/alacritty/alacritty.toml' src: 'templates/alacritty.j2' - name: enable fstrim timer become: true systemd: name: fstrim.timer enabled: true # TODO: set fan settings to `quiet` with smbios-thermal-ctl - name: remove old configuration files block: - name: create udev rule become: true file: path: '/etc/udev/rules.d/00-remove-nvidia.rules' state: absent - name: blacklist kernel module become: true file: path: '/etc/modprobe.d/blacklist-nouveau.conf' state: absent owner: root group: root when: platform == "laptop"