88 lines
4.2 KiB
YAML
88 lines
4.2 KiB
YAML
name: "Valknar's home"
|
|
version: "1.0.0"
|
|
author: "valknar@pivoine.art"
|
|
license: "MIT"
|
|
url: "https://dev.pivoine.art/valknar/home"
|
|
description: |
|
|
This is a **personal development environment** configuration managed with `arty`.
|
|
|
|
```bash
|
|
curl https://dev.pivoine.art/valknar/home/raw/branch/main/bin/setup -sSf | sh
|
|
```
|
|
references:
|
|
- url: https://github.com/nvm-sh/nvm.git
|
|
into: .nvm
|
|
- url: https://github.com/rbenv/rbenv.git
|
|
into: .rbenv
|
|
- url: https://github.com/rbenv/ruby-build.git
|
|
into: .rbenv/plugins/ruby-build
|
|
- url: https://github.com/pyenv/pyenv.git
|
|
into: .pyenv
|
|
- url: https://github.com/ohmyzsh/ohmyzsh.git
|
|
into: .oh-my-zsh
|
|
- url: https://github.com/romkatv/powerlevel10k.git
|
|
into: .zsh/themes/powerlevel10k
|
|
- url: https://github.com/marlonrichert/zsh-autocomplete.git
|
|
into: .zsh/plugins/zsh-autocomplete
|
|
- url: https://github.com/zsh-users/zsh-autosuggestions.git
|
|
into: .zsh/plugins/zsh-autosuggestions
|
|
- url: https://github.com/zsh-users/zsh-syntax-highlighting.git
|
|
into: .zsh/plugins/zsh-syntax-highlighting
|
|
- url: https://github.com/catppuccin/bat.git
|
|
into: .catppuccin/bat
|
|
- url: https://github.com/catppuccin/yazi.git
|
|
into: .catppuccin/yazi
|
|
- url: https://github.com/catppuccin/zsh-syntax-highlighting.git
|
|
into: .catppuccin/zsh-syntax-highlighting
|
|
- url: https://github.com/catppuccin/micro.git
|
|
into: .catppuccin/micro
|
|
- url: https://github.com/catppuccin/glamour.git
|
|
into: .catppuccin/glamour
|
|
scripts:
|
|
git:config: |
|
|
printf 'Name: ' && read name
|
|
printf 'Email: ' && read email
|
|
printf '[user]\n name = %s\n email = %s\n' "$name" "$email" > ~/.gitconfig.local
|
|
echo "Written ~/.gitconfig.local"
|
|
ssh:keygen: ssh-keygen -t ed25519 -C "$(git config --global --include user.email)"
|
|
debian:upgrade: sudo apt update && sudo apt upgrade -y
|
|
debian:setup:contrib: sudo sed -i 's/main non-free-firmware/main contrib non-free non-free-firmware/g' /etc/apt/sources.list
|
|
debian:install:base: sudo apt install -y build-essential git curl wget unzip zip tar zsh file fzf
|
|
debian:install:libs: sudo apt install -y libffi-dev zlib1g-dev libyaml-dev libssl-dev liblzma-dev libbz2-dev libncurses-dev libreadline-dev libsqlite3-dev python3-tk tk-dev zstd
|
|
debian:install:tools: sudo apt install -y imagemagick rsvg-convert ffmpeg yt-dlp shellcheck
|
|
docker:install: curl -fsSL -o- https://get.docker.com | sudo sh && sudo usermod -aG docker $USER
|
|
rust:install: curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path -y
|
|
rust:install:tools: cargo install bat fd-find yazi-build
|
|
rust:update: rustup update
|
|
node:install: . "$HOME/.nvm/nvm.sh" && nvm install
|
|
node:install:base: npm i -g npm pnpm
|
|
ruby:install: rbenv install
|
|
ruby:install:base: gem install bundler
|
|
python:install: pyenv install
|
|
go:install: sudo apt install -y golang-go
|
|
go:install:tools: |
|
|
CGO_ENABLED=1 go install -tags extended,withdeploy github.com/gohugoio/hugo@latest
|
|
go install github.com/mikefarah/yq/v4@latest
|
|
go install github.com/charmbracelet/glow/v2@latest
|
|
go:clean: go clean -cache && go clean -modcache
|
|
vscode:extensions: |
|
|
code --install-extension editorconfig.editorconfig
|
|
micro:install:
|
|
sudo apt install -y micro
|
|
micro:plugins: |
|
|
micro -plugin install editorconfig
|
|
catppuccin:install: |
|
|
code --install-extension catppuccin.catppuccin-vsc
|
|
code --install-extension catppuccin.catppuccin-vsc-icons
|
|
mkdir -p ~/.config/micro/colorschemes
|
|
ln -sf ~/.catppuccin/micro/themes/catppuccin-frappe.micro ~/.config/micro/colorschemes/catppuccin-frappe.micro
|
|
mkdir -p ~/.config/bat/themes
|
|
ln -sf ~/.catppuccin/bat/themes/Catppuccin\ Frappe.tmTheme ~/.config/bat/themes/Catppuccin\ Frappe.tmTheme
|
|
bat cache --build
|
|
ln -sf ~/.catppuccin/yazi/themes/frappe/catppuccin-frappe-blue.toml ~/.config/yazi/theme.toml
|
|
ln -sf ~/.catppuccin/zsh-syntax-highlighting/themes/catppuccin_frappe-zsh-syntax-highlighting.zsh ~/.zsh/catppuccin_frappe-zsh-syntax-highlighting.zsh
|
|
fonts:install: |
|
|
mkdir -p ~/.local/share/fonts/Meslo
|
|
curl -L https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.tar.xz | tar --extract --xz --directory ~/.local/share/fonts/Meslo
|
|
fc-cache -fv
|