Flake-based configuration for macOS (nix-darwin), NixOS, and standalone home-manager on Linux.
macOS (nix-darwin + home-manager)
sudo darwin-rebuild switch --flake .#watson-computerUbuntu/Linux (standalone home-manager)
home-manager switch --flake .#w47s0n@ubuntu # x86_64
home-manager switch --flake .#w47s0n@ubuntu-arm # aarch64darwin/ # macOS system modules (apps, system, nix-core, users)
home/ # home-manager configs (common, darwin, linux)
nixos/ # NixOS configuration (template)
flake.nix # Entry point with all configurations
- Usernames:
macosUsernameandlinuxUsernameinflake.nix - Packages:
darwin/apps.nix(system) orhome/*.nix(user) - macOS defaults:
darwin/system.nix
Disabled by default. To enable:
cp darwin/remote-builder.example.nix darwin/remote-builder.nix
# Edit flake.nix: enableRemoteBuilder = true