Skip to content
jKnepelPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

dotfiles

CachyOS + Hyprland + Noctalia, managed with chezmoi.

New machine

sudo pacman -S chezmoi
chezmoi init --apply <github-user>/<repo>

You'll be asked for a machine name. It selects ~/.config/hypr/hosts/<machine>.lua (monitors + workspace rules). If none exists, hosts/default.lua is used (auto layout). To add one: copy default.lua to hosts/<machine>.lua, fill in outputs from hyprctl monitors, then chezmoi add ~/.config/hypr/hosts/<machine>.lua and chezmoi apply.

The first apply lists packages from packages/*.txt that are missing and asks before installing them with paru. Hardware packages (ucode, vulkan drivers, kernels) are in there too; skip the prompt and install selectively if the machine differs.

Daily use

Task Command
Edited a tracked file in place (or an app rewrote it, e.g. Noctalia settings) chezmoi re-add
Track a new file chezmoi add <path>
See what apply would change chezmoi diff
Pull + apply on another machine chezmoi update
Commit + push chezmoi cd then git add -A && git commit && git push
Refresh package lists pacman -Qqen > $(chezmoi source-path)/packages/native.txt; pacman -Qqem > $(chezmoi source-path)/packages/aur.txt

Templated files (*.tmpl, e.g. fastfetch, lazygit) can't be re-added; edit them with chezmoi edit <path>.

Not tracked on purpose

  • Noctalia-generated colour themes (kitty/themes/noctalia.conf, gtk noctalia*.css, qt/btop/alacritty themes). Noctalia regenerates them from the wallpaper.
  • ~/.gitconfig and git/work.inc (identity/credentials differ per machine; set up locally).
  • Wallpapers (~/Pictures/Wallpapers), fish_variables, browser/mail profiles, Bitwarden, kwallet, ssh/gpg keys.
  • Neovim comes from its own repo via .chezmoiexternal.toml.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages