This repository contains my Home Manager configuration managed with Nix flakes.
- Nix 2.4+ with flakes enabled (
nix-commandandflakes). - Home Manager (used via the flake input).
- macOS Apple Silicon is assumed by default (
system = "aarch64-darwin").
flake.nix: Flake entrypoint exposinghomeConfigurations."gumuncle".home/default.nix: Main Home Manager module.home/nixvim.nix: Nixvim configuration module.config/: Additional config files (if any).
From the repo root:
home-manager switch --flake .#gumuncleIf you don’t have a home-manager command installed, you can run it via Nix:
nix run github:nix-community/home-manager -- switch --flake .#gumunclenix build .#homeConfigurations."gumuncle".activationPackageHome Manager does not update flake inputs automatically. To update pinned inputs:
nix flake updateOr update a single input:
nix flake lock --update-input home-managernix flake showmay displayhomeConfigurationsasunknown; this is normal because it’s a set of derivations.- If you see a “dirty Git tree” warning, it just means you have uncommitted changes.