Nix Home manager configuration for my MacBook
Go to file
2024-11-20 12:43:08 +05:30
packages Adds pandoc-cli and glow, and removes nix-diff 2024-11-20 12:43:08 +05:30
programs Adds pandoc-cli and glow, and removes nix-diff 2024-11-20 12:43:08 +05:30
scripts Formats files 2024-10-22 18:53:09 +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 Formats files 2024-10-22 18:53:09 +05:30
flake.lock flake.lock: Update 2024-11-20 11:57:39 +05:30
flake.nix flake.lock: Update 2024-11-16 22:12:39 +05:30
home.nix Formats files 2024-10-22 18:53:09 +05:30
homebrew.nix flake.lock: Update 2024-11-04 09:41:46 +05:30
justfile flake.lock: Update 2024-10-27 12:25:21 +05:30
launchd.nix Formats files 2024-10-22 18:53:09 +05:30
nix.nix flake.lock: Update 2024-11-13 22:55:53 +05:30
README.md Adds Homebrew support and packages 2024-01-31 16:00:03 +05:30
services.nix Formats files 2024-10-22 18:53:09 +05:30
shell.nix Formats files 2024-10-22 18:53:09 +05:30
system.nix Formats files 2024-10-22 18:53:09 +05:30

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