This is a project to help me to manage my Nix system configuration, mainly with Darwin and Home Manager.
- Shell: fish
- Terminal: alacritty
- Editor: neovim
- Multiplexer:
tmuxzellij - Prompt: starship
- Browser: arc
- Docker: orbstack
- Network: tailscale
- Window Tiling Manager: aerospace
Note
Not using kanata anymore, got my zsa voyager keyboard.
- Reset kanata
- Restart Keychron keyboard
- Both keyboard and mouse should be working
https://nixos.org/download#nix-install-macos
sh <(curl -L https://nixos.org/nix/install)
Note
Not using this anymore, this can configured directly with github cli
git credential-oauth configure
scutil --get LocalHostName
whoami
chsh -s (which fish)
sudo nix --extra-experimental-features 'nix-command flakes' build .#darwinConfigurations.your-local-hostname.system
./result/sw/bin/darwin-rebuild switch --flake ~/nix-system-config
bash ~/nix-system-config/cleanup.sh
Navigate to ...../modules/home-manager/node-packages
and run the following command to generate a nix expression. The expression can then be added into home manager
-18
is to build with nodejs v18
nix-shell -p nodePackages.node2nix --command "node2nix -18 -i ./node-packages.json -o node"
ungoogled-software/ungoogled-chromium-macos#144 (comment)
echo '{
"name": "com.apple.passwordmanager",
"description": "PasswordManagerBrowserExtensionHelper",
"path": "/System/Cryptexes/App/System/Library/CoreServices/PasswordManagerBrowserExtensionHelper.app/Contents/MacOS/PasswordManagerBrowserExtensionHelper",
"type": "stdio",
"allowed_origins": [
"chrome-extension://pejdijmoenmkgeppbflobdenhhabjlaj/",
"chrome-extension://mfbcdcnpokpoajjciilocoachedjkima/"
]
}' > ~/Library/Application\ Support/Chromium/NativeMessagingHosts/com.apple.passwordmanager.json