Skip to content

Repository files navigation

UnstoppableMango's dotfiles

CI Last commit License: MIT Nix flake

Nix has consumed my dotfiles. main is not stable, my NixOS system configurations live over at UnstoppableMango/nixos.

This repo manages Home Manager configs for two users with flake-parts, using the "Dendritic Pattern": modules are grouped by category (browsers, editors, shells, ...) instead of by user.

Home configurations

Configuration System
erik@darter x86_64-linux
erik-hades x86_64-linux
erasmussen@Eriks-MacBook-Pro aarch64-darwin

erik-hades is build-only. Hades' home is activated by the nixos repo through the Home Manager NixOS module, so this entry exists to verify the config evaluates and builds, not to switch into. Its name omits the @ so a home-manager switch running on hades cannot resolve it from $USER@$(hostname).

Layout

Category modules live under modules/, imported as flake.modules.flake:

  • ai/ - Claude Code, GitHub Copilot CLI, Cursor CLI
  • browsers/ - Brave
  • desktops/gnome/ - GNOME
  • editors/ - VS Code, Neovim (nixvim), Zed, Helix, Emacs
  • gnupg/ - gpg + gpg-agent, pinentry on Linux
  • shells/zsh/ - Zsh (Prezto, or oh-my-zsh via dotfiles.zsh.ohMyZsh.enable), Powerlevel10k
  • sops/ - sops-nix age key location for erik
  • terminals/ - Kitty, Ghostty
  • toolchain/ - c, containers, dotnet, git, go, javascript, kubernetes (incl. the rosequartz kubeconfig), nix, ocaml, python

Per-user home configs live under users/erik/ and users/erasmussen/.

Development

make targets save some typing:

$ make check   # nix flake check
$ make build   # home-manager build --flake $PWD
$ make fmt     # nix fmt (nixfmt + prettier via treefmt)
$ make watch   # rerun `nix flake check` on file changes
$ make update  # nix flake update
$ make home    # update + switch ~/.config/home-manager
$ make system  # update + rebuild /etc/nixos (needs sudo)

Note: make build validates the local flake ($PWD); make home operates on the installed config at ~/.config/home-manager.

Overridable variables: NIX, HOMEMANAGER, WATCHEXEC (all have defaults).

CI runs nix flake check --all-systems, then builds the erik@darter home configuration, using the unstoppablemango Cachix cache.

References and Links

Dendritic Pattern

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages