Skip to content

c0mpile/dotfiles

Repository files navigation

Dotfiles

My personal dotfiles managed with chezmoi and Bitwarden CLI.

Overview

Configuration is managed for the following:

  • Shell: Zsh (with Powerlevel10k & Antidote)
  • Editor: NeoVim
  • Window Manager: Hyprland
  • Terminal: Ghostty
  • Custom Shell: QuickShell / Noctalia-Shell

Installation

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.sh

The install.sh script will:

  1. Install chezmoi to ~/.local/bin (if missing).
  2. Install bw (Bitwarden CLI) to ~/.local/bin (if missing).
  3. Deploy dotfiles using chezmoi apply.

Note: You may need to add ~/.local/bin to your PATH if it's not already there.

Secrets Management

Secrets are managed via Bitwarden CLI.

Authentication

  1. Log in to Bitwarden:
    bwl  # alias for 'bw login'
  2. 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.

Workflow

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

Adding Features

To add a new configuration file:

cza ~/.config/app/config.conf

To re-add a configuration file:

czra ~/.config/app/config.conf

To forget a configuration file:

czf ~/.config/app/config.conf

To edit an existing configuration:

cze ~/.config/zsh/.zshrc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published