Nix Home manager configuration for my MacBook
Go to file
2023-11-25 16:13:20 +05:30
packages Adds Monaspace font 2023-11-25 12:48:21 +05:30
programs Adds nix-darwin 2023-11-25 16:13:20 +05:30
scripts Fixes report-hm-change script 2023-12-09 12:14:27 +05:30
.envrc Flakyfies and removes program updater service 2022-10-01 12:13:38 +05:30
.gitignore Splits into separate modules 2022-09-27 13:08:52 +05:30
configuration.nix Adds nix-darwin 2023-11-25 16:13:20 +05:30
flake.lock Adds nix-darwin 2023-11-25 16:13:20 +05:30
flake.nix Adds nix-darwin 2023-11-25 16:13:20 +05:30
home.nix Adds nix-darwin 2023-11-25 16:13:20 +05:30
justfile Adds nix-darwin 2023-11-25 16:13:20 +05:30
launchd.nix Flakyfies and removes program updater service 2022-10-01 12:13:38 +05:30
nix.nix Adds nix-darwin 2023-11-25 16:13:20 +05:30
README.md Flakyfies and removes program updater service 2022-10-01 12:13:38 +05:30
shell.nix Flakyfies and removes program updater service 2022-10-01 12:13:38 +05:30

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