organizing for go pkg installs
This commit is contained in:
333
vars/main.yml
333
vars/main.yml
@@ -5,319 +5,22 @@ use_local: true
|
||||
prefer_method: system
|
||||
packages: [] # list of packages to install
|
||||
|
||||
user_home: "{{ lookup(ansible.builtin.env, 'HOME') }}"
|
||||
defaults:
|
||||
path:
|
||||
prefix: "/usr/local"
|
||||
suffix:
|
||||
appimage: "/appimage" # keep appimages here
|
||||
archive: "/archive" # extract archives here
|
||||
bin: "/bin" # installation prefix. Binaries are placed in `{{ install }}/bin`
|
||||
cargo: "/cargo" # cargo install location
|
||||
go: "/go" # GOROOT
|
||||
pipx: "/pipx" # where pipx environments are installed (venvs). They are symlinked to `bin`
|
||||
|
||||
local_paths: # all localpaths are prefixed with the users "{{ user_home }} directory
|
||||
appimage: "{{ user_home }}/.local/appimage" # keep appimages here
|
||||
archive: "{{ user_home }}/.local/archive" # extract archives here
|
||||
cache: "{{ user_home }}/.cache" # cache downloads here
|
||||
cargo: "{{ user_home }}/.cargo" # cargo install location
|
||||
install: "{{ user_home }}/.local" # installation prefix. Binaries are placed in `{{ install }}/bin`
|
||||
|
||||
sys_paths: # if installing at a system level (default)
|
||||
appimage: /opt/appimage # appimages are installed to {{ apimage_install_prefix }}/<name>/
|
||||
archive: /opt/archive # pre-compiled archives are extracted to {{ archive_install_prefix }}/
|
||||
cache: /opt/archive/.cache # download archives here
|
||||
cargo: /opt/cargo # cargo install location
|
||||
install: /usr/local # executables get linked to {{ default_install_prefix }}/bin
|
||||
|
||||
pkgconfig:
|
||||
neovide:
|
||||
git_repo: https://github.com/neovide/neovide.git
|
||||
build_deps:
|
||||
RedHat:
|
||||
- fontconfig-devel
|
||||
- freetype-devel
|
||||
- libX11-xcb
|
||||
- libX11-devel
|
||||
- libstdc++-static
|
||||
- libstdc++-devel
|
||||
- "@Development Tools"
|
||||
- "@Development Libraries"
|
||||
Debian:
|
||||
- fontconfig-devel
|
||||
- freetype-devel
|
||||
- libX11-xcb
|
||||
- libX11-devel
|
||||
- libstdc++-static
|
||||
- libstdc++-devel
|
||||
- "@Development Tools"
|
||||
- "@Development Libraries"
|
||||
neovim:
|
||||
git_repo: https://github.com/neovim/neovim
|
||||
appimage_url_pfx: https://github.com/neovim/neovim/releases/download
|
||||
nerdfonts:
|
||||
fonts:
|
||||
0xProto:
|
||||
brew: font-0xproto-nerd-font
|
||||
"3270":
|
||||
brew: font-3270-nerd-font
|
||||
Agave:
|
||||
brew: font-agave-nerd-font
|
||||
AnonymousPro:
|
||||
brew: font-anonymice-nerd-font
|
||||
Arimo:
|
||||
brew: font-arimo-nerd-font
|
||||
AurulentSansMono:
|
||||
brew: font-aurulent-sans-mono-nerd-font
|
||||
BigBlueTerminal:
|
||||
brew: font-bigblue-terminal-nerd-font
|
||||
BitstreamVeraSansMono:
|
||||
brew: font-bitstream-vera-sans-mono-nerd-font
|
||||
IBMPlexMono:
|
||||
brew: font-blex-mono-nerd-font
|
||||
CascadiaCode:
|
||||
brew: font-caskaydia-cove-nerd-font
|
||||
CascadiaMono:
|
||||
brew: font-caskaydia-mono-nerd-font
|
||||
CodeNewRoman:
|
||||
brew: font-code-new-roman-nerd-font
|
||||
ComicShannsMono:
|
||||
brew: font-comic-shanns-mono-nerd-font
|
||||
CommitMono:
|
||||
brew: font-commit-mono-nerd-font
|
||||
Cousine:
|
||||
brew: font-cousine-nerd-font
|
||||
D2Coding:
|
||||
brew: font-d2coding-nerd-font
|
||||
DaddyTimeMono:
|
||||
brew: font-daddy-time-mono-nerd-font
|
||||
DejaVuSansMono:
|
||||
brew: font-dejavu-sans-mono-nerd-font
|
||||
DepartureMono:
|
||||
brew: font-departure-mono-nerd-font
|
||||
DroidSansMono:
|
||||
brew: font-droid-sans-mono-nerd-font
|
||||
EnvyCodeR:
|
||||
brew: font-envy-code-r-nerd-font
|
||||
FantasqueSansMono:
|
||||
brew: font-fantasque-sans-mono-nerd-font
|
||||
FiraCode:
|
||||
brew: font-fira-code-nerd-font
|
||||
FiraMono:
|
||||
brew: font-fira-mono-nerd-font
|
||||
GeistMono:
|
||||
brew: font-geist-mono-nerd-font
|
||||
Go-Mono:
|
||||
brew: font-go-mono-nerd-font
|
||||
Gohu:
|
||||
brew: font-gohufont-nerd-font
|
||||
Hack:
|
||||
brew: font-hack-nerd-font
|
||||
Hasklig:
|
||||
brew: font-hasklug-nerd-font
|
||||
HeavyData:
|
||||
brew: font-heavy-data-nerd-font
|
||||
Hermit:
|
||||
brew: font-hurmit-nerd-font
|
||||
IA-Writer:
|
||||
brew: font-im-writing-nerd-font
|
||||
InconsolataGo:
|
||||
brew: font-inconsolata-go-nerd-font
|
||||
InconsolataLGC:
|
||||
brew: font-inconsolata-lgc-nerd-font
|
||||
Inconsolata:
|
||||
brew: font-inconsolata-nerd-font
|
||||
IntelOneMono:
|
||||
brew: font-intone-mono-nerd-font
|
||||
Iosevka:
|
||||
brew: font-iosevka-nerd-font
|
||||
IosevkaTerm:
|
||||
brew: font-iosevka-term-nerd-font
|
||||
IosevkaTermSlab:
|
||||
brew: font-iosevka-term-slab-nerd-font
|
||||
JetBrainsMono:
|
||||
brew: font-jetbrains-mono-nerd-font
|
||||
Lekton:
|
||||
brew: font-lekton-nerd-font
|
||||
LiberationMono:
|
||||
brew: font-liberation-nerd-font
|
||||
Lilex:
|
||||
brew: font-lilex-nerd-font
|
||||
MPlus:
|
||||
brew: font-m+-nerd-font
|
||||
MartianMono:
|
||||
brew: font-martian-mono-nerd-font
|
||||
Meslo:
|
||||
brew: font-meslo-lg-nerd-font
|
||||
Monaspace:
|
||||
brew: font-monaspace-nerd-font
|
||||
Monofur:
|
||||
brew: font-monofur-nerd-font
|
||||
Mononoki:
|
||||
brew: font-mononoki-nerd-font
|
||||
Monoid:
|
||||
brew: font-monoid-nerd-font
|
||||
NerdFontsSymbolsOnly:
|
||||
brew: font-symbols-only-nerd-font
|
||||
Noto:
|
||||
brew: font-noto-nerd-font
|
||||
OpenDyslexic:
|
||||
brew: font-open-dyslexic-nerd-font
|
||||
Overpass:
|
||||
brew: font-overpass-nerd-font
|
||||
ProFont:
|
||||
brew: font-profont-nerd-font
|
||||
ProggyClean:
|
||||
brew: font-proggy-clean-tt-nerd-font
|
||||
Recursive:
|
||||
brew: font-recursive-mono-nerd-font
|
||||
RobotoMono:
|
||||
brew: font-roboto-mono-nerd-font
|
||||
SourceCodePro:
|
||||
brew: font-sauce-code-pro-nerd-font
|
||||
ShareTechMono:
|
||||
brew: font-shure-tech-mono-nerd-font
|
||||
SpaceMono:
|
||||
brew: font-space-mono-nerd-font
|
||||
Terminus:
|
||||
brew: font-terminess-ttf-nerd-font
|
||||
Tinos:
|
||||
brew: font-tinos-nerd-font
|
||||
UbuntuMono:
|
||||
brew: font-ubuntu-mono-nerd-font
|
||||
Ubuntu:
|
||||
brew: font-ubuntu-nerd-font
|
||||
UbuntuSans:
|
||||
brew: font-ubuntu-sans-nerd-font
|
||||
VictorMono:
|
||||
brew: font-victor-mono-nerd-font
|
||||
ZedMono:
|
||||
brew: font-zed-mono-nerd-font
|
||||
base_url: https://github.com/ryanoasis/nerd-fonts/releases/latest/download
|
||||
nodejs:
|
||||
pkgs:
|
||||
Darwin:
|
||||
- node
|
||||
Linux:
|
||||
- nodejs
|
||||
- npm
|
||||
nomad:
|
||||
Linux: nomad
|
||||
Darwin: hashicorp/tap/nomad
|
||||
nushell:
|
||||
build_deps:
|
||||
Darwin:
|
||||
- openssl
|
||||
- cmake
|
||||
Debian:
|
||||
- pkg-config
|
||||
- libssl-dev
|
||||
- build-essential
|
||||
RedHat:
|
||||
- libxcb
|
||||
- openssl-devel
|
||||
- libX11-devel
|
||||
nupkgs_extra: []
|
||||
nupkgs_common:
|
||||
- nu
|
||||
- nu_plugin_compress
|
||||
- nu_plugin_desktop_notifications
|
||||
- nu_plugin_dns
|
||||
- nu_plugin_file_dialog
|
||||
- nu_plugin_formats
|
||||
- nu_plugin_gstat
|
||||
- nu_plugin_hashes
|
||||
- nu_plugin_hcl
|
||||
- nu_plugin_highlight
|
||||
- nu_plugin_inc
|
||||
- nu_plugin_json_path
|
||||
- nu_plugin_net
|
||||
- nu_plugin_polars
|
||||
- nu_plugin_query
|
||||
- nu_plugin_selector
|
||||
pkgs:
|
||||
Darwin:
|
||||
- nu_plugin_plist
|
||||
Debian: []
|
||||
RedHat:
|
||||
- nu_plugin_rpm
|
||||
packer:
|
||||
Linux: packer
|
||||
Darwin: packer
|
||||
python3:
|
||||
pkgs:
|
||||
Darwin:
|
||||
- python3
|
||||
Linux:
|
||||
- python3
|
||||
- python3-pip
|
||||
rust:
|
||||
pkgs:
|
||||
Darwin:
|
||||
- rust
|
||||
Linux:
|
||||
- rustc
|
||||
- cargo
|
||||
tailscale:
|
||||
url_base: https://pkgs.tailscale.com/stable
|
||||
release:
|
||||
bookworm:
|
||||
gpg: bookworm.noarmor.gpg
|
||||
list: bookworm.tailscale-keyring.list
|
||||
bullseye:
|
||||
gpg: bullseye.noarmor.gpg
|
||||
list: bullseye.tailscale-keyring.list
|
||||
buster:
|
||||
gpg: buster.gpg
|
||||
list: buster.list
|
||||
stretch:
|
||||
gpg: stretch.gpg
|
||||
list: stretch.list
|
||||
terraform:
|
||||
Linux: terraform
|
||||
Darwin: hashicorp/tap/terraform
|
||||
terraformls:
|
||||
Linux: terraform-ls
|
||||
Darwin: hashicorp/tap/terraform-ls
|
||||
terrarepo:
|
||||
repo: https://terra.fyralabs.com/terra.repo
|
||||
tidy:
|
||||
pkgs:
|
||||
Darwin:
|
||||
- tidy-html5
|
||||
Linux:
|
||||
- tidy
|
||||
vault:
|
||||
Linux: vault
|
||||
Darwin: hashicorp/tap/vault
|
||||
zfs:
|
||||
repo_base: https://zfsonlinux.org
|
||||
gpg_key: https://raw.githubusercontent.com/zfsonlinux/zfsonlinux.github.com/master/zfs-release/RPM-GPG-KEY-openzfs-key2
|
||||
gpg_key_fingerprint: 7DC7 299D CF7C 7FD9 CD87 701B A599 FD5E 9DB8 4141
|
||||
fedora:
|
||||
release: 2-6
|
||||
epel:
|
||||
release: 2-3
|
||||
pkgs:
|
||||
RedHat:
|
||||
- zfs
|
||||
Debian:
|
||||
- zfs-dkms
|
||||
- zfsutils-linux
|
||||
build_deps:
|
||||
RedHat:
|
||||
- kernel-devel
|
||||
- epel-release
|
||||
Debian:
|
||||
- dpkg-dev
|
||||
- linux-headers-generic
|
||||
- linux-image-generic
|
||||
zig:
|
||||
base_url: https://ziglang.org/download
|
||||
sysmap:
|
||||
Darwin: macos
|
||||
Linux: linux
|
||||
archmap:
|
||||
aarch64: aarch64
|
||||
arm64: aarch64
|
||||
x86_64: x86_64
|
||||
zls:
|
||||
base_url: https://builds.zigtools.org
|
||||
sysmap:
|
||||
Darwin: macos
|
||||
Linux: linux
|
||||
archmap:
|
||||
aarch64: aarch64
|
||||
arm64: aarch64
|
||||
x86_64: x86_64
|
||||
# paths resolve to either $HOME/.local as the prefix, or /usr/local
|
||||
# all created paths are named:
|
||||
# - paths.appimage: $PREFIX/appimage
|
||||
# - paths.archive: $PREFIX/archive
|
||||
# - paths.bin: $PREFIX/bin
|
||||
# - paths.cargo: $PREFIX/cargo
|
||||
# - paths.go: $PREFIX/go
|
||||
# - paths.pipx: $PREFIX/pipx
|
||||
|
||||
Reference in New Issue
Block a user