fix go, finish nerdfonts

This commit is contained in:
Matthew Stobbs
2026-02-10 19:02:15 -07:00
parent 2c1f4ec422
commit 0a335f23b0
4 changed files with 195 additions and 176 deletions

View File

@@ -6,9 +6,6 @@
- archive.name is defined
- archive.url is defined
block:
- name: Dump archive vars
ansible.builtin.debug:
var: archive
- name: Extract archive to given path
block:
- name: Ensure directory exists

View File

@@ -1,13 +1,8 @@
# vim: set filetype=yaml.ansible :
---
- name: Load nerdfonts list
ansible.builtin.include_vars:
file: nerdfonts.yml
name: __nerdfonts
- name: Generate nerdfont configs
when:
- __nerdfonts[nf] is defined
- "__nerdfonts[nf] is defined"
ansible.builtin.set_fact:
__font_config:
extract_to: "{{ path_archive }}/nerdfonts/{{ nf }}"
@@ -18,10 +13,6 @@
to: "{{ install_prefix }}/{{ nerdfonts_install_path }}/{{ nf }}"
force: true
- name: Dump current nerdfont config
ansible.builtin.debug:
var: __font_config
- name: Append config to pkg archive
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + [__font_config] }}"

View File

@@ -116,6 +116,38 @@ ansible_ls_version: latest
ansible_ls_pkg_deps:
- pkgs/npm.yml
# }}}
# {{{ go
go_archive_version: 1.25.6
go_archive_archmap:
arm64: arm64
aarch64: arm64
x86_64: amd64
go_archive_url_base: https://go.dev/dl
go_archive_sums:
1.25.6:
Darwin:
amd64: sha256:e2b5b237f5c262931b8e280ac4b8363f156e19bfad5270c099998932819670b7
arm64: sha256:984521ae978a5377c7d782fd2dd953291840d7d3d0bd95781a1f32f16d94a006
Linux:
amd64: sha256:f022b6aad78e362bcba9b0b94d09ad58c5a70c6ba3b7582905fababf5fe0181a
arm64: sha256:738ef87d79c34272424ccdf83302b7b0300b8b096ed443896089306117943dd5
FreeBSD:
amd64: sha256:61e1d50e332359474ff6dcf4bc0bd34ba2d2cf4ef649593a5faa527f0ab84e2b
arm64: sha256:648484146702dd58db0e2c3d15bda3560340d149ed574936e63285a823116b77
go_profile_path:
Linux: /etc/profile.d
FreeBSD: /etc/profile.d
go_pkgname:
RedHat: go
Debian: go
Darwin: go
FreeBSD:
default: go
1.25: go125
1.24: go124
1.23: go123
1.22: go122
# }}}
# {{{ nerdfonts
nerdfonts_install_list:
- JetBrainsMono

View File

@@ -1,4 +1,3 @@
fonts:
0xProto:
brew: font-0xproto-nerd-font
"3270":