Personal configuration for macOS systems, managed using Nix Flakes, nix-darwin, and home-manager.
Declarative and reproducible environment across machines:
- System-level configurations via
nix-darwin - User-specific configurations via
home-manager - Homebrew integration via
nix-homebrew
-
Install Nix using the Determinate Systems installer:
just nix-install
-
Clone the repository:
git clone https://github.com/khaykingleb/dotfiles.git ~/.config/dotfiles cd ~/.config/dotfiles
-
Apply the configuration for your machine:
just nix-apply <hostname>
where
<hostname>is one of the systems defined inflake.nix(e.g.macbook-pro-m4).
just # list all available commands
just nix-apply <hostname> # apply configuration
just nix-update-flake # update flake inputs
just nix-gc # garbage collect unused packages