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

• Updated input 'home-manager':
    'github:nix-community/home-manager/8b07ca541939211d3cc437ddfd74ebdef3d72471' (2024-03-08)
  → 'github:nix-community/home-manager/6665da45dd03857a4ae600cf246435e6ae57407e' (2024-03-18)
• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/550340062c16d7ef8c2cc20a3d2b97bcd3c6b6f6' (2024-03-07)
  → 'github:LnL7/nix-darwin/bcc8afd06e237df060c85bad6af7128e05fd61a3' (2024-03-17)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/f945939fd679284d736112d3d5410eb867f3b31c' (2024-03-07)
  → 'github:nixos/nixpkgs/e367f7a1fb93137af22a3908f00b9a35e2d286a7' (2024-03-18)
2024-03-19 11:45:15 +05:30
packages Adds Monaspace font 2023-11-25 12:48:21 +05:30
programs flake.lock: Update 2024-03-19 11:45:15 +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-03-19 11:45:15 +05:30
flake.nix Formats files 2024-01-31 19:23:23 +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 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 Formats files 2024-01-31 19:23:23 +05:30
shell.nix Flakyfies and removes program updater service 2022-10-01 12:13:38 +05:30
system.nix Formats files 2024-01-31 19:23:23 +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