Skip to content
YvanY0Public

About

Personal Dotfiles Managed by Chezmoi

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Dotfiles

License: MIT Last Commit Platform Managed with guisu

Personal configurations managed with guisu, for macOS, Fedora Linux, and NixOS. The repository includes shell, terminal, editor, and command-line tool configurations, adapted to each platform with templates and system detection.

This repository contains personal preferences and encrypted files. It is not intended for direct use on other users' devices. Review the configuration and hooks before applying it.

What's Included

  • Shells: zsh and Nushell
  • Terminals: Ghostty and Kitty
  • Editors: Neovim, Helix, VS Code, and Zed
  • CLI tools: Git, Starship, Atuin, eza, bat, and more
  • System setup: Homebrew on macOS, packages on Fedora, and system configuration on NixOS
  • Secrets: age-encrypted files, with keys retrieved through rbw

Usage

Install and configure guisu, clone this repository, then run from the repository directory:

git clone git@github.com:YvanY0/dotfiles.git
cd dotfiles
guisu apply

Review .guisu.toml.j2, .guisu/hooks/, and home/ before applying. Personal systems require rbw access and the age identity needed to decrypt protected files. Hooks may install packages, change Git settings, or rebuild the NixOS system.

Platform Behavior

  • macOS: runs the Homebrew package installation hook.
  • Fedora: runs the dnf package installation hook.
  • NixOS: deploys the system configuration from home/.config/nixos/ and runs nixos-rebuild switch after apply.
  • Other Linux distributions: treated as ephemeral environments; dnf and NixOS system operations are skipped, and some personal or encrypted configurations are excluded.

Personal configuration is selected using the detected system and username. The current personal username is yvanyo; see .guisu.toml.j2 for the detection logic.

Repository Layout

  • .guisu.toml.j2: guisu configuration, platform detection, and variables
  • .guisu/variables/: user, visual, and platform-specific variables
  • .guisu/hooks/: pre- and post-apply scripts for packages, keys, and system setup
  • .guisu/ignores.toml: environment-specific exclusions
  • home/: configuration files deployed to the user's home directory

Development

Run the repository's pre-commit checks with:

pre-commit run --all-files

简体中文

About

Personal Dotfiles Managed by Chezmoi

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages