Group vars refactor

This commit is contained in:
Sonny Bakker 2025-03-15 16:57:00 +01:00
parent f7eb8dc56d
commit 755493d155
31 changed files with 355 additions and 398 deletions

4
group_vars/all/git.yml Normal file
View file

@ -0,0 +1,4 @@
dotfiles_repo: 'git@forgejo.fudiggity.nl:sonny/dotfiles.git'
git_domain: 'forgejo.fudiggity.nl'
git_host_key: 'forgejo.fudiggity.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBqEej87ukSK7KGi7e0q+oTrru4h7Fm6fK8GgiMtu01+'

46
group_vars/all/neovim.yml Normal file
View file

@ -0,0 +1,46 @@
neovim_plugins:
- url: 'https://forgejo.fudiggity.nl/sonny/source-link.lua'
name: 'source-link'
- url: 'https://github.com/nvim-tree/nvim-tree.lua'
name: 'nvim-tree'
- url: 'https://github.com/nvim-tree/nvim-web-devicons'
name: 'nvim-tree-icons'
- url: 'https://github.com/neovim/nvim-lspconfig'
name: 'nvim-lspconfig'
- url: 'https://github.com/hrsh7th/nvim-cmp'
name: 'nvim-cmp'
- url: 'https://github.com/hrsh7th/cmp-buffer'
name: 'cmp-buffer'
- url: 'https://github.com/hrsh7th/cmp-path'
name: 'cmp-path'
- url: 'https://github.com/hrsh7th/cmp-omni'
name: 'cmp-omni'
- url: 'https://github.com/hrsh7th/cmp-nvim-lsp'
name: 'cmp-nvim-lsp'
- url: 'https://github.com/hrsh7th/cmp-nvim-lua'
name: 'cmp-nvim-lua'
- url: 'https://github.com/nvim-treesitter/nvim-treesitter'
name: 'nvim-treesitter'
- url: 'https://github.com/nvim-lua/plenary.nvim'
name: 'plenary.nvim'
- url: 'https://github.com/nvim-telescope/telescope-fzf-native.nvim'
name: 'telescope-fzf-native.nvim'
- url: 'https://github.com/nvim-telescope/telescope.nvim'
name: 'telescope.nvim'
version: '0.1.x'
- url: 'https://github.com/L3MON4D3/LuaSnip'
name: 'luasnip'
version: 'v1.0.0'
- url: 'https://github.com/lewis6991/gitsigns.nvim'
name: 'gitsigns.nvim'
version: 'v0.9.0'
- url: 'https://github.com/nvim-lualine/lualine.nvim'
name: 'lualine'
- url: 'https://github.com/lukas-reineke/indent-blankline.nvim'
name: 'indent-blankline.nvim'
version: 'v3.7.2'
- url: 'https://github.com/projekt0n/github-nvim-theme.git'
name: 'github-colors'
version: 'v1.1.2'
language_servers: []

View file

@ -0,0 +1,4 @@
xdg_config_dir: '{{ ansible_env.HOME }}/.config'
xdg_data_dir: '{{ ansible_env.HOME }}/.local/share'
packages: []

40
group_vars/arch/aur.yml Normal file
View file

@ -0,0 +1,40 @@
aur_packages:
- url: 'https://aur.archlinux.org/nvm.git'
name: 'nvm'
package_name: 'nvm'
version: '0.40.0-1'
arch: 'any'
aur_build_dir: '/usr/local/src'
python_build_dir: '/usr/local/src'
python_install_dir: '/opt'
python_download_url: 'https://www.python.org/ftp/python'
python_versions:
- version: 3.12.9
path: 'python3.12'
binary: 'python3.12'
- version: 3.11.9
path: 'python3.11'
binary: 'python3.11'
- version: 3.10.0
path: 'python3.10'
binary: 'python3.10'
- version: 3.9.14
path: 'python3.9'
binary: 'python3.9'
- version: 3.8.14
path: 'python3.8'
binary: 'python3.8'
- version: 3.7.14
path: 'python3.7'
binary: 'python3.7'
- version: 3.6.15
path: 'python3.6'
binary: 'python3.6'

View file

@ -0,0 +1,48 @@
language_servers:
- package: ansible-language-server
server_name: 'ansiblels'
auto_setup: true
- package: typescript-language-server
server_name: 'ts_ls'
auto_setup: true
- package: vscode-json-languageserver
server_name: 'jsonls'
auto_setup: true
- package: vscode-css-languageserver
server_name: 'cssls'
auto_setup: true
- package: bash-language-server
server_name: 'bashls'
auto_setup: true
- package: marksman
server_name: 'marksman'
auto_setup: true
- package: esbonio
server_name: 'esbonio'
auto_setup: true
- package: lua-language-server
server_name: 'lua_ls'
auto_setup: true
- package: yaml-language-server
server_name: 'yamlls'
auto_setup: false
- package: vscode-html-languageserver
server_name: 'html'
auto_setup: false
- package: ruff-lsp
server_name: 'ruff'
auto_setup: false
- package: pyright
server_name: 'pyright'
auto_setup: false

View file

@ -0,0 +1,17 @@
packages:
- python
- git
- vim
- neovim
- python-pynvim
- wl-clipboard
- npm
- docker
- docker-compose
- iptables-nft
- fuse-overlayfs
- ttf-ibm-plex
- slirp4netns
- tree-sitter
- ripgrep
- uv

View file

@ -0,0 +1,18 @@
# TODO: add lua language server, see https://github.com/LuaLS/lua-language-server?
language_servers:
- package: '@ansible/ansible-language-server'
server_name: 'ansiblels'
auto_setup: true
- package: yaml-language-server
server_name: 'yamlls'
auto_setup: false
- package: bash-language-server
server_name: 'bashls'
auto_setup: true
neovim:
version: 'v0.10.4'
install_path: '/opt/nvim'
download_checksum: sha256:95aaa8e89473f5421114f2787c13ae0ec6e11ebbd1a13a1bd6fcf63420f8073f

View file

@ -0,0 +1,7 @@
packages:
- python3
- git
- vim
- npm
- libtree-sitter0
- ripgrep