Michael's dotfiles
Manage with
chezmoi(github | documentation)
My Windows, Linux (via WSL) and Android (via Termux) setup. Focus on:
- Consistency: The experience should be as close as possible, whether I'm on linux or windows, work or home, vscode or neovim. Especially the UX (keybindings, commands, aliases, ...), the UI (colorscheme and themes) doesn't have to be. A list of keybindings is define to ensure this.
- Minimalism: Try not to stray too far from the default, especially on the work machine.
Prioritize app that can easily be install with the OS's default package manager (
wingetfor Windows,aptfor Ubuntu andpkgfor Termux) - Stability: Minimize breaking changes between update and between machines. Don't assume the machine has the require application or net work connection.
Tested on Windows 11, Debian Sid, Ubuntu Noble and Termux (without chroot)
docker run -it --rm ghcr.io/canh25xp/dotfiles-debian:latestOr using WSL:
curl -LO https://github.com/canh25xp/dotfiles/releases/latest/download/dotfiles-debian.tar.gz
wsl --import Debian C:\WSL\Debian dotfiles-debian.tar.gz --version 2
wsl -d Debian -u canh25xp --cd ~sudo apt install git curl
curl -fsSL https://api.github.com/repos/twpayne/chezmoi/releases/latest | grep -o 'https://[^"]*linux_amd64\.deb' | xargs -n1 curl -Lo chezmoi_linux_amd64.deb
sudo dpkg -i chezmoi_linux_amd64.deb
rm chezmoi_linux_amd64.debwinget install chezmoipkg install chezmoisudo apt install curl
sh -c "$(curl -fsLS get.chezmoi.io)"chezmoi init canh25xpAdd GIT_LFS_SKIP_SMUDGE if you want skip download git-lfs files (mostly my wallpapers) and specify --depth to shallow clone only.
GIT_LFS_SKIP_SMUDGE=1 chezmoi init canh25xp --depth 1chemzoi applydocker build -t dotfiles-debian .
docker run -it --rm dotfiles-debianBuild minimal tag. The default tag is "full"
docker build -t dotfiles-debian:minimal . --target minimal
docker run -it --rm dotfiles-debian:minimalRun with persistent user home data.
docker run -it --rm -v dotfiles-home:/home/canh25xp dotfiles-debian