Cambio paradigma: cartelle configurazioni linkate.

This commit is contained in:
Emiliano Vavassori 2024-12-26 00:23:39 +01:00
parent 795f2192be
commit 38bff506f7
4 changed files with 14 additions and 10 deletions

View file

@ -3,10 +3,11 @@
- name: Create configuration directory
ansible.builtin.file:
path: "{{ nix_configdir }}"
path: "{{ userconfigdir }}"
state: directory
- name: Linking configuration
ansible.builtin.copy:
src: "{{ dotfdir }}/nix/nix.conf"
dest: "{{ nix_configdir }}/nix.conf"
ansible.builtin.file:
src: "{{ dotfdir }}/nix"
dest: "{{ nix_configdir }}"
state: link