16 lines
364 B
YAML
16 lines
364 B
YAML
---
|
|
# 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
|