Abhinav Sarkar
0d4776105a
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/3df2a80f3f85f91ea06e5e91071fa74ba92e5084' (2024-01-23) → 'github:nix-community/home-manager/d634c3abafa454551f2083b054cd95c3f287be61' (2024-01-28) • Updated input 'nix-darwin': 'github:LnL7/nix-darwin/4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d' (2023-11-24) → 'github:LnL7/nix-darwin/91b9daf672c957ef95a05491a75f62e6a01d5aaf' (2024-01-30) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/5f5210aa20e343b7e35f40c033000db0ef80d7b9' (2024-01-22) → 'github:nixos/nixpkgs/222c1940fafeda4dea161858ffe6ebfc853d3db5' (2024-01-30) |
||
---|---|---|
packages | ||
programs | ||
scripts | ||
.envrc | ||
.gitignore | ||
README.md | ||
configuration.nix | ||
flake.lock | ||
flake.nix | ||
home.nix | ||
homebrew.nix | ||
justfile | ||
launchd.nix | ||
nix.nix | ||
shell.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. 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