---
- name: Packages
  ansible.builtin.include_tasks: "install_{{ ansible_distribution }}.yml"
  tags: install

- name: Create directory for Helix config
  ansible.builtin.file:
    path: ~/.config/helix
    state: directory
    mode: 0744

- name: Install the config
  ansible.builtin.copy:
    src: files/config.toml
    dest: ~/.config/helix/config.toml
    mode: 0644