dotfiles/roles/nix/tasks/configuration.yml

18 lines
421 B
YAML

---
# Configuring the nix installation.
- name: Adding syntaxerrormmm to nix-users
ansible.builtin.user:
name: syntaxerrormmm
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
owner: syntaxerrormmm
group: syntaxerrormmm