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

• Updated input 'home-manager':
    'github:nix-community/home-manager/850cb322046ef1a268449cf1ceda5fd24d930b05' (2024-05-23)
  → 'github:nix-community/home-manager/8d5e27b4807d25308dfe369d5a923d87e7dbfda3' (2024-06-13)
• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/0bea8222f6e83247dd13b055d83e64bce02ee532' (2024-05-24)
  → 'github:LnL7/nix-darwin/315aa649ba307704db0b16c92f097a08a65ec955' (2024-06-09)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/3305b2b25e4ae4baee872346eae133cf6f611783' (2024-05-23)
  → 'github:nixos/nixpkgs/e913ae340076bbb73d9f4d3d065c2bca7caafb16' (2024-06-11)
2024-06-13 09:08:16 +05:30
packages Fixes NIX_PATH 2024-04-01 23:33:42 +05:30
programs flake.lock: Update 2024-06-13 09:08:16 +05:30
scripts Fixes reporting package changes 2024-02-06 22:04:23 +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-01-31 19:23:23 +05:30
flake.lock flake.lock: Update 2024-06-13 09:08:16 +05:30
flake.nix Replaces neofetch with fastfetch 2024-05-02 19:05:26 +05:30
home.nix Fixes NIX_PATH 2024-04-01 23:33:42 +05:30
homebrew.nix Adds last.fm app 2024-04-02 10:56:14 +05:30
justfile Fixes reporting package changes 2024-02-06 22:04:23 +05:30
launchd.nix Flakyfies and removes program updater service 2022-10-01 12:13:38 +05:30
nix.nix Increases Nix cache connect timeout 2024-06-01 15:25:24 +05:30
shell.nix Flakyfies and removes program updater service 2022-10-01 12:13:38 +05:30
system.nix Fixes NIX_PATH 2024-04-01 23:33:42 +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