2026-07-30 04:25:19 +02:00
2026-07-30 04:25:19 +02:00
2026-07-30 04:25:19 +02:00

Dotfiles

Dotfiles managed by chezmoi. The repo works on Arch and Ubuntu (not complete) and has three machine classes: server, desktop, and laptop.

First-time install on a new machine

1. Install prerequisites

# Arch
sudo pacman -S git curl age jq chezmoi

# Ubuntu
sudo apt-get install git curl age jq chezmoi

2. Encryption key

The age key needs to be placed at ~/.config/chezmoi/key With following permissions

chmod 600 ~/.config/chezmoi/key

3. Init and Apply

chezmoi init --apply https://gitea.keuledrive.de/Keule2/Dotfiles

Will prompt some questions for template data.

Usage

Command Effect
chezmoi apply apply any local changes to dotfiles and run-once scripts
chezmoi update git pull + apply
chezmoi edit <file> open a tracked file in $EDITOR
chezmoi cd shell into the source dir
chezmoi diff show pending changes against your home
chezmoi managed list files chezmoi manages

Changing the system class

Edit the config file

$EDITOR ~/.config/chezmoi/chezmoi.toml   # change [data].system
chezmoi apply

TODO

  • Check packages e.g. gaming Steam/Lutris
S
Description
My dotfiles with a simple install script.
Readme
82 MiB
Languages
Lua 57.4%
Go Template 26.2%
Shell 11.1%
CSS 5.3%