A collection of resources for setting up Nix on macOS with nix-darwin and home-manager.
The nix-darwin-kickstarter repository is a good starting point for macOS.
Run programs without installing them with nix-shell -p cowsay.
Remote Deployment: nixos-rebuild announcement
Example configurations:
jdheyburn/nixos-configs
Great examples for:
Caddy web server
FreshRSS
deploy-rs
Tailscale integration
wimpysworld/nix-config - Production-ready configuration
Remote installation with nixos-anywhere: nixos-anywhere uses kexec. If kexec doesn’t work, boot with NixOS ISO instead.
Wireless in initrd: Unlocking encrypted drives over WiFi
Secrets management with SOPS: SOPS works with evaluation-time secrets (for config files) and runtime secrets (using sops-nix or agenix). Decryption can use any private key in .sops.yaml, but creating/updating encrypted files requires the master key. Update keys with sops updatekeys secrets/epsilon.yaml.
Additional resources: