Files
home/arty.yml
2025-11-28 14:16:24 +01:00

110 lines
4.2 KiB
YAML

name: "Valknar's home"
version: "1.0.0"
description: "Valknar's home repository"
author: "valknar@pivoine.art"
license: "MIT"
notes: |
# Valknar's Home Repository
This is a **personal development environment** configuration managed with `arty`.
## Quick Start
```bash
# Install all dependencies
arty deps
# Update system packages
arty debian/update && arty debian/install
# Install development tools
arty node/install
arty rust/install
arty python/install
```
## Key Features
- **Shell Configuration**: Zsh with Oh-My-Zsh and Powerlevel10k theme
- **Version Managers**: nvm (Node), rbenv (Ruby), pyenv (Python), gvm (Go)
- **Development Tools**: Docker, Rust, Node.js, Python, Ruby
- **Utilities**: Custom scripts in `bin/` directory
## Important Commands
1. **System Setup** - Run Ansible playbook for complete setup
2. **Environment Variables** - Loaded from `.init/export.sh`
3. **Custom Functions** - Available in `.init/functions.sh`
## Links
- [Repository](ssh://git@dev.pivoine.art:2222/valknar/bin.git)
- [Documentation](https://docs.pivoine.art)
## Notes
- Always use `arty` to manage Docker containers
- Run `arty up -d CONTAINER` instead of `arty restart CONTAINER`
- Push with the `valknarthing` SSH key
- Ensure SSH agent has only one key for pushing
references:
- url: https://dev.pivoine.art/valknar/bin.git
into: bin
- url: https://dev.pivoine.art/valknar/.llmx.git
into: .llmx
- url: https://github.com/nvm-sh/nvm.git
into: .nvm
- url: https://github.com/moovweb/gvm.git
into: .gvm
- 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: .oh-my-zsh/custom/themes/powerlevel10k
- url: https://github.com/zsh-users/zsh-autosuggestions.git
into: .oh-my-zsh/custom/plugins/zsh-autosuggestions
- url: https://github.com/zsh-users/zsh-syntax-highlighting.git
into: .oh-my-zsh/custom/plugins/zsh-syntax-highlighting
scripts:
debian/update: sudo sed -i 's/main non-free-firmware/main contrib non-free non-free-firmware/g' /etc/apt/sources.list && sudo apt update
debian/install:
sudo apt install curl zsh fzf davfs2 krusader make imagemagick ffmpeg yt-dlp
thunderbird pkg-config blueman libffi-dev zlib1g-dev libyaml-dev libssl-dev tree firmware-linux-nonfree firmware-realtek
debian/remove: sudo apt remove pulseaudio-module-bluetooth
docker/install: curl -fsSL -o- https://get.docker.com | sudo sh && sudo usermod -aG docker $USER
rust/install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
node/install: nvm install
ruby/install: rbenv install
python/install:
sudo apt-get install libbz2-dev libncurses-dev libreadline-dev libsqlite3-dev tk-dev liblzma-dev
pyenv install
uv/install: curl -LsSf https://astral.sh/uv/install.sh | sh
zed/install: curl -f https://zed.dev/install.sh | sh
claude/install: curl -fsSL https://claude.ai/install.sh | bash
runpodctl/install: wget --quiet --show-progress https://github.com/Run-Pod/runpodctl/releases/download/v1.14.3/runpodctl-linux-amd64 -O runpodctl && chmod +x runpodctl && sudo cp runpodctl /usr/bin/runpodctl
mattermost/install:
curl -fsS -o- https://deb.packages.mattermost.com/setup-repo.sh | sudo bash
&& sudo apt install mattermost-desktop
joplin/install: wget -O -
https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh | bash
yq/install:
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
-O /usr/local/bin/yq && chmod +x /usr/local/bin/yq
spotify/install:
curl -sS https://download.spotify.com/debian/pubkey_C85668DF69375001.gpg |
sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg && echo "deb
https://repository.spotify.com stable non-free" | sudo tee
/etc/apt/sources.list.d/spotify.list && sudo apt-get update && sudo apt-get
install spotify-client
npm/install: npm i -g npm pnpm @valknarthing/llmx
gem/install: gem install bundler
tailscale/install: curl -fsSL https://tailscale.com/install.sh | sh