Something went wrong. Try again.
Something went wrong. Try again.
Files
Verified signature Signed by naikaayush.com SHA256:SFsbUHoaBLbLQNPGOzENDdPP8PJSTExYSNLB3wgNcE8 Click to copy SHA
Verified signature Signed by naikaayush.com SHA256:tYYIszVHc+VtaBunjav6iT9467qLC7l9LJJqqswXz48 Click to copy SHA
Verified signature Signed by naikaayush.com SHA256:tYYIszVHc+VtaBunjav6iT9467qLC7l9LJJqqswXz48 Click to copy SHA
- Nix 100%
readme.md
mac #
layout #
hosts/darwin/— shared nix-darwin config for all macshosts/<host>/— per-mac overrides (mac,macmini)home/darwin.nix— shared home-manager config (zsh + oh-my-zsh, packages)
To add a mac: create hosts/<name>/default.nix and add <name> = mkDarwin "<name>"; in flake.nix.
After bootstrap: sudo darwin-rebuild switch --flake .#<host>
bootstrap #
- install nix
curl -fsSL https://install.determinate.systems/nix | sh -s -- install
- first run
sudo nix --extra-experimental-features 'nix-command flakes' run nix-darwin -- switch --flake .#<host> (mac or macmini)
sudo mv /etc/bashrc /etc/bashrc.before-nix-darwin
sudo mv /etc/zshrc /etc/zshrc.before-nix-darwin
sudo nixos-rebuild switch --flake .#<host>(macormacmini)
nixos #
sudo nixos-rebuild switch --flake .#nixos