dotfiles/roles/nix/tasks/configuration.yml

16 lines
364 B
YAML
Raw Normal View History

---
# Configuring the nix installation.
- name: Adding user to nix-users
ansible.builtin.user:
name: "{{ ansible_user }}"
groups: nix-users
append: true
become: true
- name: Adding configuration to local user
ansible.builtin.file:
src: "{{ dotfdir }}/nix"
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/nix"
state: link