install.fairie/home/.chezmoiexternal.toml.tmpl
2023-08-08 15:14:54 -04:00

501 lines
18 KiB
Cheetah

{{- $refreshPeriod := "240h" }}
### VIM Plugins
{{- $vimPlugins := .softwarePlugins.vim.plugins }}
{{- range $vimPlugin := $vimPlugins }}
{{- $folderName := trimSuffix ".git" (last (splitList "/" $vimPlugin)) }}
[".local/share/vim/plugged/{{ $folderName }}"]
type = "git-repo"
url = "{{ $vimPlugin }}"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
{{- end }}
### coc.nvim VIM plugin requires custom branch "release"
[".local/share/vim/plugged/coc.nvim"]
type = "git-repo"
url = "https://github.com/neoclide/coc.nvim.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--branch", "release", "--depth", "1"]
pull.args = ["--ff-only"]
### CloudFlare WARP Certificates
[".local/share/warp/Cloudflare_CA.crt"]
type = "file"
url = "https://developers.cloudflare.com/cloudflare-one/static/documentation/connections/Cloudflare_CA.crt"
[".local/share/warp/Cloudflare_CA.pem"]
type = "file"
url = "https://developers.cloudflare.com/cloudflare-one/static/documentation/connections/Cloudflare_CA.pem"
### Curl / Google Cloud SDK
[".local/share/curl/cacert.pem"]
type = "file"
url = "https://curl.se/ca/cacert.pem"
### Update scripts
[".local/bin/update"]
type = "git-repo"
url = "https://github.com/UpdateCommand/update.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
refreshPeriod = "{{ $refreshPeriod }}"
### Betelgeuse Theme
[".local/share/betelgeuse"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/misc/betelgeuse.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/candy-icons"]
type = "git-repo"
url = "https://github.com/ProfessorManhattan/candy-icons.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/yoru"]
type = "git-repo"
url = "https://github.com/rxyhn/yoru.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/dracula"]
type = "git-repo"
url = "https://github.com/dracula/dracula-theme.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### Shell
[".config/desktop/gnome.yml"]
type = "file"
url = "https://gitlab.com/megabyte-labs/gas-station/-/raw/master/environments/prod/group_vars/all/defaults.yml"
[".config/desktop/settings.yml"]
type = "file"
url = "https://gitlab.com/megabyte-labs/gas-station/-/raw/master/roles/system/theme/vars/main.yml"
[".config/helm/config.yml"]
type = "file"
url = "https://gitlab.com/megabyte-labs/gas-station/-/raw/master/environments/prod/group_vars/all/helm.yml"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/share/blesh/src"]
type = "git-repo"
url = "https://github.com/akinomyoga/ble.sh.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--shallow-submodules", "--recursive", "--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/bash_it"]
type = "git-repo"
url = "https://github.com/Bash-it/bash-it.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/emsdk"]
type = "git-repo"
url = "https://github.com/emscripten-core/emsdk.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/has"]
type = "git-repo"
url = "https://github.com/kdabir/has.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/wait-for-it"]
type = "git-repo"
url = "https://github.com/vishnubob/wait-for-it.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/hoard"]
type = "git-repo"
url = "https://github.com/Hyde46/hoard.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/shell-safe-rm"]
type = "git-repo"
url = "https://github.com/kaelzhang/shell-safe-rm.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/extract"]
type = "git-repo"
url = "https://github.com/xvoland/Extract.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/up"]
type = "git-repo"
url = "https://github.com/shannonmoeller/up.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/shell/sensible.bash"]
type = "file"
url = "https://raw.githubusercontent.com/mrzool/bash-sensible/master/sensible.bash"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/share/rsync-time-backup"]
type = "git-repo"
url = "https://github.com/laurent22/rsync-time-backup.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/tmpmail"]
type = "git-repo"
url = "https://github.com/sdushantha/tmpmail.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/concurrent"]
type = "git-repo"
url = "https://github.com/themattrix/bash-concurrent.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/install.doctor"]
type = "git-repo"
url = "https://github.com/megabyte-labs/install.doctor.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
#[".local/oh-my-bash"]
# type = "git-repo"
# url = "https://github.com/ohmybash/oh-my-bash.git"
# refreshPeriod = "{{ $refreshPeriod }}"
# clone.args = ["--depth", "1"]
# pull.args = ["--ff-only"]
[".config/shell/lscolors.sh"]
type = "file"
url = "https://raw.githubusercontent.com/trapd00r/LS_COLORS/master/lscolors.sh"
refreshPeriod = "{{ $refreshPeriod }}"
[".config/tmux/tmux.conf"]
type = "file"
url = "https://raw.githubusercontent.com/gpakosz/.tmux/master/.tmux.conf"
refreshPeriod = "{{ $refreshPeriod }}"
[".config/tmux/tmux.conf.local"]
type = "file"
url = "https://raw.githubusercontent.com/gpakosz/.tmux/master/.tmux.conf.local"
[".local/scripts/antigen.zsh"]
type = "file"
url = "https://raw.githubusercontent.com/zsh-users/antigen/develop/bin/antigen.zsh"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/scripts/fzf-git.bash"]
type = "file"
url = "https://raw.githubusercontent.com/junegunn/fzf-git.sh/main/fzf-git.sh"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/scripts/fzf-tmux.bash"]
type = "file"
url = "https://raw.githubusercontent.com/junegunn/fzf/master/bin/fzf-tmux"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/share/delta/themes.gitconfig"]
type = "file"
url = "https://raw.githubusercontent.com/dandavison/delta/master/themes.gitconfig"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/share/zsh/site-functions/fzf.zsh"]
type = "file"
url = "https://raw.githubusercontent.com/junegunn/fzf/master/shell/completion.zsh"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/share/zsh/site-functions/fzf-key-bindings.zsh"]
type = "file"
url = "https://raw.githubusercontent.com/junegunn/fzf/master/shell/key-bindings.zsh"
refreshPeriod = "{{ $refreshPeriod }}"
[".config/vim/autoload/plug.vim"]
type = "file"
url = "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
refreshPeriod = "{{ $refreshPeriod }}"
### ASDF
[".local/share/asdf"]
type = "git-repo"
url = "https://github.com/asdf-vm/asdf.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
{{- if eq .host.distro.id "darwin" }}
### Crunch
[".local/share/crunch"]
type = "git-repo"
url = "https://github.com/chrissimpkins/Crunch.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
{{- end }}
{{- if (lookPath "apt-get") }}
### Netdata Debsecan
[".local/share/netdata-debsecan"]
type = "git-repo"
url = "https://gitlab.com/nodiscc/netdata-debsecan.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
{{- end }}
### Netdata Speedtest (required for Netdata speedtest plugin)
[".local/share/netdata-speedtest"]
type = "git-repo"
url = "https://github.com/ohthehugemanatee/netdata-speedtest.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### Git Template
# [".config/git/template/_/husky.sh"]
# type = "file"
# url = "https://github.com/typicode/husky/raw/main/husky.sh"
# refreshPeriod = "{{ $refreshPeriod }}"
### GPG
[".gnupg/gpg.conf"]
type = "file"
url = "https://raw.githubusercontent.com/drduh/config/master/gpg.conf"
refreshPeriod = "{{ $refreshPeriod }}"
### Taskfiles
[".local/share/shared-common"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/common/shared.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### Rundeck
[".local/system/src/var/lib/rundeck/libext/ansible-plugin-3.2.2.jar"]
type = "file"
url = "https://github.com/rundeck-plugins/ansible-plugin/releases/download/v3.2.2/ansible-plugin-3.2.2.jar"
refreshPeriod = "{{ $refreshPeriod }}"
### Chef Bento
[".local/share/bento"]
type = "git-repo"
url = "https://github.com/installdoc/bento.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### Git Fuzzy
[".local/share/git-fuzzy"]
type = "git-repo"
url = "https://github.com/bigH/git-fuzzy.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### AI / GPT
[".local/share/agentgpt"]
type = "git-repo"
url = "https://github.com/reworkd/AgentGPT.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/kaguya"]
type = "git-repo"
url = "https://github.com/ykdojo/kaguya.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/localgpt"]
type = "git-repo"
url = "https://github.com/PromtEngineer/localGPT.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/shortgpt"]
type = "git-repo"
url = "https://github.com/rayventura/shortgpt.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/quivr"]
type = "git-repo"
url = "https://github.com/StanGirard/Quivr.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### Ansible Roles / Playbook
[".local/share/gas-station"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/gas-station.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/ansible-qubes"]
type = "git-repo"
url = "https://github.com/ProfessorManhattan/ansible-qubes.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/ansible/plugins/callback/beautiful_output.py"]
type = "file"
url = "https://github.com/Townk/ansible-beautiful-output/raw/master/callback_plugins/beautiful_output.py"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/share/ansible/plugins/lookup/bitwarden.py"]
type = "file"
url = "https://github.com/ProfessorManhattan/ansible-modules-bitwarden/raw/master/lookup_plugins/bitwarden.py"
refreshPeriod = "{{ $refreshPeriod }}"
### Application Styles
# Discord (TODO: Apply this to Discord automatically)
[".local/share/fluent/discord/theme.css"]
type = "file"
url = "https://raw.githubusercontent.com/DiscordStyles/Fluent/deploy/Fluent.theme.css"
refreshPeriod = "{{ $refreshPeriod }}"
# Steam (TODO: Apply this to Steam automatically by detecting first if it is installed)
[".local/share/fluent/steam"]
type = "git-repo"
url = "https://github.com/purogamer/Fluent-for-Steam.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### Packer
[".local/share/packer/archlinux"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/packer/archlinux-desktop.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/packer/centos"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/packer/centos-desktop.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/packer/debian"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/packer/debian-desktop.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/packer/fedora"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/packer/fedora-desktop.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/packer/macos"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/packer/macos-desktop.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/packer/ubuntu"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/packer/ubuntu-desktop.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".local/share/packer/windows"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/packer/windows-desktop.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
# https://github.com/kholia/OSX-KVM
[".local/share/osx-kvm"]
type = "git-repo"
url = "https://github.com/kholia/OSX-KVM.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### PowerShell
[".local/share/powershell/docker"]
type = "git-repo"
url = "https://github.com/matt9ucci/DockerCompletion.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### JumpUSB
[".local/src/jumpusb"]
type = "git-repo"
url = "https://gitlab.com/megabyte-labs/jumpusb.git"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
### Vagrant
[".ssh/authorized_keys.vagrant"]
type = "file"
url = "https://raw.githubusercontent.com/hashicorp/vagrant/main/keys/vagrant.pub"
refreshPeriod = "{{ $refreshPeriod }}"
### Neovim
[".config/nvim"]
type = "git-repo"
url = "https://github.com/AstroNvim/AstroNvim.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".config/nvim/lua/user"]
type = "git-repo"
url = "https://github.com/megabyte-labs/AstronVim.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
{{- if and (eq .chezmoi.os "linux") (not .host.headless) }}
### Rofi
[".local/share/fonts/GrapeNuts-Regular.ttf"]
type = "file"
url = "https://github.com/adi1090x/rofi/raw/master/fonts/GrapeNuts-Regular.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/share/fonts/Icomoon-Feather.ttf"]
type = "file"
url = "https://github.com/adi1090x/rofi/raw/master/fonts/Icomoon-Feather.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/share/fonts/Iosevka-Nerd-Font-Complete.ttf"]
type = "file"
url = "https://github.com/adi1090x/rofi/raw/master/fonts/Iosevka-Nerd-Font-Complete.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
[".local/share/fonts/JetBrains-Mono-Nerd-Font-Complete.ttf"]
type = "file"
url = "https://github.com/adi1090x/rofi/raw/master/fonts/JetBrains-Mono-Nerd-Font-Complete.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
[".config/rofi"]
type = "archive"
url = "https://github.com/adi1090x/rofi/archive/refs/heads/master.tar.gz"
exact = true
stripComponents = 2
refreshPeriod = "{{ $refreshPeriod }}"
include = ["applets/**", "colors/**", "images/**", "launchers/**", "powermenu/**", "scripts/**", "config.rasi"]
{{- end }}
{{- if not .host.headless }}
### Hack Nerd Font Download
{{- $refreshPeriod := "4800h" }}
{{- $fontDir := "" }}
{{- $fontUrlBase := "https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Hack"}}
{{- if eq .host.distro.family "darwin" }}
{{- $fontDir = "Library/Fonts" }}
{{- else if eq .host.distro.family "linux" }}
{{- $fontDir = ".local/share/fonts" }}
{{- else if eq .host.distro.family "windows" }}
{{- $fontDir = "Windows/Fonts" }}
{{- end }}
["{{ $fontDir }}/Hack-Regular-Nerd-Font.ttf"]
type = "file"
url = "{{ $fontUrlBase }}/Regular/HackNerdFont-Regular.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
["{{ $fontDir }}/Hack-Bold-Nerd-Font.ttf"]
type = "file"
url = "{{ $fontUrlBase }}/Bold/HackNerdFont-Bold.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
["{{ $fontDir }}/Hack-Italic-Nerd-Font.ttf"]
type = "file"
url = "{{ $fontUrlBase }}/Italic/HackNerdFont-Italic.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
["{{ $fontDir }}/Hack-Bold-Italic-Nerd-Font.ttf"]
type = "file"
url = "{{ $fontUrlBase }}/BoldItalic/HackNerdFont-BoldItalic.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
### Montserrat Font Download
{{- $fontUrlBase := "https://github.com/JulietaUla/Montserrat/raw/master/fonts/ttf/Montserrat-"}}
{{- $fonts := list "Black" "BlackItalic" "Bold" "BoldItalic" "ExtraBold" "ExtraBoldItalic" "ExtraLight" "ExtraLightItalic" "Italic" "Light" "LightItalic" "Medium" "MediumItalic" "Regular" "SemiBold" "SemiBoldItalic" "Thin" "ThinItalic" }}
{{- range $font := $fonts }}
["{{ $fontDir }}/Montserrat-{{ $font }}.ttf"]
type = "file"
url = "{{ $fontUrlBase }}{{ $font }}.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
{{- end }}
### ZillaSlab Font Download
{{- $fontUrlBase := "https://github.com/typotheque/zilla-slab/raw/master/fonts_TTF/ZillaSlab"}}
{{- $fonts := list "-Bold" "-BoldItalic" "-Italic" "-Light" "-LightItalic" "-Medium" "-MediumItalic" "-Regular" "-SemiBold" "-SemiBoldItalic" "Highlight-Bold" "Highlight-Regular" }}
{{- range $font := $fonts }}
["{{ $fontDir }}/ZillaSlab{{ $font }}.ttf"]
type = "file"
url = "{{ $fontUrlBase }}{{ $font }}.ttf"
refreshPeriod = "{{ $refreshPeriod }}"
{{- end }}
{{- end }}