My personal dotfiles managed with chezmoi and Bitwarden CLI.
Configuration is managed for the following:
- Shell: Zsh (with Powerlevel10k & Antidote)
- Editor: NeoVim
- Window Manager: Hyprland
- Terminal: Ghostty
- Custom Shell: QuickShell / Noctalia-Shell
To bootstrap a new machine, clone this repository and run the install script:
git clone https://github.com/c0mpile/dotfiles.git ~/.local/share/chezmoi
cd ~/.local/share/chezmoi
./install.shThe install.sh script will:
- Install
chezmoito~/.local/bin(if missing). - Install
bw(Bitwarden CLI) to~/.local/bin(if missing). - Deploy dotfiles using
chezmoi apply.
Note: You may need to add
~/.local/binto yourPATHif it's not already there.
Secrets are managed via Bitwarden CLI.
- Log in to Bitwarden:
bwl # alias for 'bw login' - Unlock your vault and set the session variable:
bwu # alias for 'bw-unlock'
This enables access to secrets used in templates without entering your master password for every command.
Common chezmoi aliases managed in zsh:
| Alias | Command | Description |
|---|---|---|
cz |
chezmoi |
Base command |
czp |
chezmoi apply |
Apply changes to home directory |
cze |
chezmoi edit |
Edit a file in the source directory |
czd |
chezmoi diff |
View differences between source and home |
czs |
chezmoi status |
Check status of managed files |
cza |
chezmoi add |
Add a file to be managed |
czra |
chezmoi re-add |
Re-add a file to be managed |
czf |
chezmoi forget |
Forget a file from being managed |
czu |
chezmoi update |
Pull changes from remote and apply |
To add a new configuration file:
cza ~/.config/app/config.confTo re-add a configuration file:
czra ~/.config/app/config.confTo forget a configuration file:
czf ~/.config/app/config.confTo edit an existing configuration:
cze ~/.config/zsh/.zshrc