Abhinav Sarkar 59441fa7fe | ||
---|---|---|
packages | ||
programs | ||
scripts | ||
.envrc | ||
.gitignore | ||
README.md | ||
configuration.nix | ||
flake.lock | ||
flake.nix | ||
home.nix | ||
homebrew.nix | ||
justfile | ||
launchd.nix | ||
nix.nix | ||
services.nix | ||
shell.nix | ||
system.nix |
README.md
Nix + Home Manager based MacBook configuration
This is the Nix and Home Manager configuration for managing my MacBook.
Usage
First install Nix and Homebrew. Then, in the repo directory, run nix develop
to get into the Nix shell.
To set up the MacBook as per the config, run:
just switch
To update installed packages, run:
just update
To clean up garbage, run:
just clean
If you have just
installed, you can also run these commands from any other directory, without starting Nix shell:
just <repo_dir>/switch # or update or clean