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.
- 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
Install and configure guisu, clone this repository, then run from the repository directory:
git clone git@github.com:YvanY0/dotfiles.git
cd dotfiles
guisu applyReview .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.
- macOS: runs the Homebrew package installation hook.
- Fedora: runs the dnf package installation hook.
- NixOS: deploys the system configuration from
home/.config/nixos/and runsnixos-rebuild switchafter 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.
.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 exclusionshome/: configuration files deployed to the user's home directory
Run the repository's pre-commit checks with:
pre-commit run --all-files