Nix Home manager configuration for my MacBook
Go to file
Abhinav Sarkar bcf9b570bb Updates packages
had to comment out broken Lix version
2024-12-16 11:25:53 +05:30
packages Adds pandoc-cli and glow, and removes nix-diff 2024-11-20 12:43:08 +05:30
programs flake.lock: Update 2024-11-30 10:45:09 +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 Updates packages 2024-12-16 11:25:53 +05:30
flake.nix Updates packages 2024-12-16 11:25:53 +05:30
home.nix Formats files 2024-10-22 18:53:09 +05:30
homebrew.nix Adds Zed editor 2024-11-26 20:33:25 +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 Updates packages 2024-12-16 11:25: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