22 lines
525 B
YAML
22 lines
525 B
YAML
# tasks file for dotfiles
|
|
- name: Ensure stow is installed
|
|
become: true
|
|
pacman:
|
|
name:
|
|
- stow
|
|
state: present
|
|
|
|
- name: Remove existing config files before stowing
|
|
file:
|
|
path: "{{ archsetup_user_home }}/.config/{{ item }}"
|
|
state: absent
|
|
loop:
|
|
- hypr
|
|
- zellij
|
|
|
|
- name: Create symlinks with stow
|
|
command: stow --target={{ archsetup_user_home }} {{ dotfiles_stow_packages | join(' ') }}
|
|
args:
|
|
creates: "{{ archsetup_user_home }}/.config/hypr"
|
|
chdir: "{{ archsetup_dir }}/dotfiles"
|