configuring more packages

This commit is contained in:
Matthew Stobbs
2025-01-22 22:14:49 -07:00
parent 852331a692
commit 6fa5a46701
88 changed files with 388 additions and 492 deletions

17
tasks/pkgs/nerdfonts.yml Normal file
View File

@@ -0,0 +1,17 @@
---
- ansible.builtin.include_vars:
file: nerdfonts.yml
name: _nerdfonts
- name: append to srcpkgs
when: ansible_system == 'Linux'
set_fact:
srcpkgs: "{{ srcpkgs + [ 'nerdfonts' ] }}"
- name: append to caskpkgs
when: ansible_system == 'Darwin'
set_fact:
caskpkgs: "{{ caskpkgs + [ 'font-' + font.brew + '-nerd-font' ] }}"
loop: "{{ _nerfonts.fonts }}"
loop_control:
loop_var: font