Nix Home manager configuration for my MacBook
Abhinav Sarkar
a651a8c35b
Flake lock file updates: • Updated input 'fish-plugin-fzf': 'github:PatrickF1/fzf.fish/8d99f0caa30a626369541f80848ffdbf28e96acc' (2023-09-17) → 'github:PatrickF1/fzf.fish/46c7bc6354494be5d869d56a24a46823a9fdded0' (2023-11-10) • Updated input 'home-manager': 'github:nix-community/home-manager/f92a54fef4eacdbe86b0a2054054dd58b0e2a2a4' (2023-10-28) → 'github:nix-community/home-manager/691cbcc03af6ad1b5384c0e0e0b5f2298f58c5ce' (2023-11-11) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/90e85bc7c1a6fc0760a94ace129d3a1c61c3d035' (2023-10-29) → 'github:nixos/nixpkgs/ec750fd01963ab6b20ee1f0cb488754e8036d89d' (2023-11-07) |
||
---|---|---|
packages | ||
programs | ||
scripts | ||
.envrc | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
home.nix | ||
justfile | ||
launchd.nix | ||
nix.nix | ||
README.md | ||
shell.nix |
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