Abhinav Sarkar
32f68f3862
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/8d5e27b4807d25308dfe369d5a923d87e7dbfda3' (2024-06-13) → 'github:nix-community/home-manager/6b1f90a8ff92e81638ae6eb48cd62349c3e387bb' (2024-06-23) • Updated input 'nix-darwin': 'github:LnL7/nix-darwin/315aa649ba307704db0b16c92f097a08a65ec955' (2024-06-09) → 'github:LnL7/nix-darwin/50581970f37f06a4719001735828519925ef8310' (2024-06-23) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/e913ae340076bbb73d9f4d3d065c2bca7caafb16' (2024-06-11) → 'github:nixos/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681' (2024-06-22) |
||
---|---|---|
packages | ||
programs | ||
scripts | ||
.envrc | ||
.gitignore | ||
README.md | ||
configuration.nix | ||
flake.lock | ||
flake.nix | ||
home.nix | ||
homebrew.nix | ||
justfile | ||
launchd.nix | ||
nix.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