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

• Updated input 'home-manager':
    'github:nix-community/home-manager/8f6ca7855d409aeebe2a582c6fd6b6a8d0bf5661' (2024-11-03)
  → 'github:nix-community/home-manager/60bb110917844d354f3c18e05450606a435d2d10' (2024-11-10)
• Updated input 'lix-module':
    '622a2253a0.tar.gz?narHash=sha256-zNW/rqNJwhq2lYmQf19wJerRuNimjhxHKmzrWWFJYts%3D&rev=622a2253a071a1fb97a4d3c8103a91114acc1140' (2024-08-13)
  → '6478f624b2.tar.gz?narHash=sha256-slp0zWHKvbCzhiBwwe6VX6jODEY%2BPKhHyiAoHgM5Bdc%3D&rev=6478f624b2a00367e0e3d750a2c7a9f3afb72712' (2024-10-19)
• Updated input 'lix-module/lix':
    'bcaeb6388b.tar.gz?narHash=sha256-Rosl9iA9MybF5Bud4BTAQ9adbY81aGmPfV8dDBGl34s%3D&rev=bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2' (2024-08-12)
  → 'ad9d06f783.tar.gz?narHash=sha256-hiGtfzxFkDc9TSYsb96Whg0vnqBVV7CUxyscZNhed0U%3D&rev=ad9d06f7838a25beec425ff406fe68721fef73be' (2024-10-19)
• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/4652874d014b82cb746173ffc64f6a70044daa7e' (2024-11-03)
  → 'github:LnL7/nix-darwin/5c74ab862c8070cbf6400128a1b56abb213656da' (2024-11-09)
• Updated input 'nix-vscode-extensions':
    'github:nix-community/nix-vscode-extensions/16ca007ec37c29a8b97e4899f33c013defbdb2f9' (2024-11-04)
  → 'github:nix-community/nix-vscode-extensions/85caf0185a4bf8fc2161c33a6d6d328052d7da44' (2024-11-10)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53' (2024-10-30)
  → 'github:nixos/nixpkgs/85f7e662eda4fa3a995556527c87b2524b691933' (2024-11-07)
• Updated input 'nixpkgs-stable':
    'github:nixos/nixpkgs/9706f4dd0e516de529fbd15bb8337e4a10d53307' (2024-10-31)
  → 'github:nixos/nixpkgs/c128e44a249d6180740d0a979b6480d5b795c013' (2024-11-06)
2024-11-13 22:55:53 +05:30
packages Formats files 2024-10-22 18:53:09 +05:30
programs Adds new programs 2024-11-01 20:12:20 +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
README.md Adds Homebrew support and packages 2024-01-31 16:00:03 +05:30
configuration.nix Formats files 2024-10-22 18:53:09 +05:30
flake.lock flake.lock: Update 2024-11-13 22:55:53 +05:30
flake.nix flake.lock: Update 2024-11-13 22:55:53 +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
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

README.md

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