The settings for the things I like.
This repository includes a Home Manager flake configuration that declaratively manages dotfiles and XDG configuration directories.
To apply the configuration using an existing home-manager installation:
home-manager switch --flake .You can also install or apply it directly using nix run:
nix run github:nix-community/home-manager -- switch --flake .To validate the flake configuration:
nix flake checkflake.nix: Defines inputs (nixpkgsandhome-manager) and exposes a genericdefaulthomeConfiguration.home.nix: Main Home Manager module entry point.modules/dotfiles.nix: Handles symlinking root dotfiles (e.g.,.zshenv,.tmux.conf) and~/.configdirectories (e.g.,alacritty,i3,zsh). Also maps GnuPG files fromconfig/gnupgto~/.gnupgand fonts fromconfig/fontsto~/.fonts.modules/packages.nix: Declarative user packages.
I found when using OSX and Homebrew, I was installing brew to a non standard directory ($HOME/.homebrew).
This meant my shell would not pick up the executeables I had installed via brew install (which are numerous).
Rather than try to continue to hack it, I added a .darwin file to be sourced first (and therefore fix the path).
The .darwin file is in orthros/brewfiles