Skip to content

Repository files navigation

WAAAGH's Linux Dev Env

What's in this repo

Desktop & Terminal

AI Coding Agents (all via Bitwarden secret injection)

Dev Tools (managed by mise)

Dotfile management: chezmoi

  • External tools auto-installed: mise, oh-my-zsh, monaspace fonts, alacritty desktop entry, skillshare, lazyssh, yazi, zellij
  • Encryption: age-encrypted files for personal tokens

Other

  • Agent configs: GSD (~/.gsd), Pi (~/.pi)
  • Rust: Cargo config (~/.cargo)
  • X11: ~/.Xresources, ~/.xinitrc, ~/.xprofile
  • SSH & OpenClaw (private dirs)

Screenshot

How to install

Quick start

  • Install git and fontconfig which are used in the process below

For Debian/Ubuntu users:

apt install git fontconfig zsh curl
apt install cmake g++ pkg-config libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin
  • Then initialize and apply the configuration:
chezmoi init pkking
chezmoi apply

Recovery from another device

  • install deps
apt install git fontconfig zsh curl
apt install cmake g++ pkg-config libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin
  • recover age key
mkdir -p ~/.config/chezmoi
# 将私钥内容写入 key.txt,并设置严格的文件权限
nano ~/.config/chezmoi/key.txt
chmod 600 ~/.config/chezmoi/key.txt
  • place chezmoi age key config in ~/.config/chezmoi/chezmoi.toml
# cat ~/.config/chezmoi/chezmoi.toml
encryption = "age"
[age]
    identity = "~/.config/chezmoi/key.txt"
    recipient = "age1..." # 你的公钥(可选配置,解密阶段主要依赖 identity)
  • init dotfiles
chezmoi init --apply pkking

Install tmux plugins by pressing Ctrl + a and Shift+i

Now all tmux plugins will be installed on a new machine due to this tip

Handle sensitive data

  • Encrypt a file with sensitive data:
chezmoi add --encrypt <path to file>
  • Re-encrypt all files when adding a new public key:
chezmoi re-add --encrypt

Feel free to email me or create an issue.

Have fun :)

About

my linux config files

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages