This repository contains my dotfiles managed with Chezmoi. It is mainly used on Fedora and Arch Linux, with support for Ubuntu, CentOS, and macOS.
# 1) Install chezmoi and git first.
# https://www.chezmoi.io/install/
# 2) Initialize and apply.
chezmoi init https://github.com/AndreasBackx/dotfiles.git
chezmoi apply
# 3) Run the built-in dependency check.
dot-doctorchezmoi apply will ask setup questions (environment, GPU, headless, monitor profile) and render templates accordingly.
## Arch Linux
paru -S \
fzf \
git-delta \
bat \
eza \
duf \
ripgrep \
choose-rust-git \
hyperfine
## Fedora
sudo dnf copr enable atim/choose
sudo dnf install -y \
fzf \
git-delta \
bat \
eza \
ripgrep \
choose \
hyperfine
## macOS
brew install -y \
fzf \
git-delta \
bat \
eza \
duf \
ripgrep \
choose-rust \
hyperfine
## Ubuntu
sudo apt-get install -y \
fzf \
rust-bat \
ripgrep \
choose-rust-gitThese are expected by scripts and config for Hyprland/Eww setups:
minosewwwireplumber(wpctl)kittyrofi/rofi-wayland
# Dry run without applying.
chezmoi apply --dry-run --verbose
# Check your system dependencies.
dot-doctorCommon issues:
- Missing wrappers: run
chezmoi applyagain after installing required desktop tools. - Missing secrets: check
~/.config/.secretsand your secrets provider setup. - Headless mode: desktop checks are skipped and 1Password-backed secrets are not loaded.
sudo groupadd --system i2c
sudo usermod $(whoami) -aG i2c
sudo cp /usr/share/ddcutil/data/45-ddcutil-i2c.rules /etc/udev/rules.d
# Temporary permissions for current boot:
sudo chmod a+rw /dev/i2c-*