Nix Home manager configuration for my MacBook
Go to file
Abhinav Sarkar 0d4776105a flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/3df2a80f3f85f91ea06e5e91071fa74ba92e5084' (2024-01-23)
  → 'github:nix-community/home-manager/d634c3abafa454551f2083b054cd95c3f287be61' (2024-01-28)
• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d' (2023-11-24)
  → 'github:LnL7/nix-darwin/91b9daf672c957ef95a05491a75f62e6a01d5aaf' (2024-01-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5f5210aa20e343b7e35f40c033000db0ef80d7b9' (2024-01-22)
  → 'github:nixos/nixpkgs/222c1940fafeda4dea161858ffe6ebfc853d3db5' (2024-01-30)
2024-01-31 16:02:50 +05:30
packages Adds Monaspace font 2023-11-25 12:48:21 +05:30
programs flake.lock: Update 2024-01-31 16:02:50 +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
README.md Flakyfies and removes program updater service 2022-10-01 12:13:38 +05:30
configuration.nix Adds nix-darwin 2023-11-25 16:13:20 +05:30
flake.lock flake.lock: Update 2024-01-31 16:02:50 +05:30
flake.nix flake.lock: Update 2024-01-31 16:02:50 +05:30
home.nix Adds nix-darwin 2023-11-25 16:13:20 +05:30
homebrew.nix Adds Homebrew support and packages 2024-01-31 16:00:03 +05:30
justfile Adds Homebrew support and packages 2024-01-31 16:00:03 +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
shell.nix Flakyfies and removes program updater service 2022-10-01 12:13:38 +05:30

README.md

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