Add host-specific dotfiles for nymph (autorandr config)

This commit is contained in:
Fabio Scotto di Santolo
2026-03-21 22:59:11 +01:00
parent b7da4d821d
commit 71ae4c67ab
7 changed files with 67 additions and 0 deletions

View File

@@ -49,6 +49,19 @@
loop_control:
label: "{{ item.dest }}"
- name: Copy host-specific dotfiles
tags: [dotfiles, dotfiles:desktop, dotfiles:host]
ansible.builtin.copy:
src: "{{ playbook_dir }}/../dotfiles/{{ hostname }}/{{ item.src }}"
dest: "{{ user_home }}/{{ item.dest }}"
owner: "{{ username }}"
group: "{{ user_group }}"
mode: "{{ item.mode }}"
loop: "{{ host_dotfiles | default([]) }}"
loop_control:
label: "{{ item.dest }}"
when: host_dotfiles is defined and host_dotfiles | length > 0
- name: Render desktop templates with private values
tags: [dotfiles, dotfiles:desktop]
ansible.builtin.template: