nix-darwin and home-manager modules that set macOS preferences from Nix, with options named after the switches and menu words in System Settings. Changes are applied the way macOS does it, Dock restarts and firewall through Apple's tools included, and a command writes the current Mac out as Nix.
Trade-offs
- Options are named after what is clicked in System Settings, not after plist keys and domains, so a setting is found by its label at the cost of a mapping kept per macOS version.
- Settings are verified by round-trip: each value is applied, System Settings is asked what it shows, and the Mac is put back. Only macOS 27 is verified so far.
- Privacy permissions, Screen Time and account settings live outside macOS preferences and cannot be declared.
Q&A2
One command writes the current settings as Nix, leaving out anything still at macOS's default, and
--against mac.nix later prints only what changed since.No. The Dock restarts, keyboard shortcuts take effect without logging out, and firewall and sharing go through Apple's own tools.
Links
Built by
Reviews
Loading reviews
More in Nix
See all 7 →- trynixBoots any package from 13 years of nixpkgs in a browser tab
NixoriumRuns a school computer lab of NixOS PCs from one controller, offline- nixarchyOmarchy 4 vendored for NixOS, its menus rewired to Nix instead of pacman
PanixStateless deployment orchestrator for Nix flake installables across fleets
containixcontainerd shim that runs Nix flakes on Kubernetes without container images- unnixReproducible Nix environments without installing Nix or evaluating Nixpkgs
More in macOS
See all 45 →
AnubisNative macOS app for benchmarking local LLMs on Apple Silicon
TerentoInstalls OpenStreetMap maps on Garmin watches from a Mac or the browser
MLX LoRA StudioNative Mac app for LLM fine-tuning on Apple Silicon
QueueScopeNative macOS dashboard for BullMQ queues on Redis
SnitchPer-app network monitor and outbound firewall for the desktop
CorridorKey-RuntimeNative AI keying runtime and OFX plugin for Resolve and Nuke
More in Claude Code
See all 421 →
jobdGPU-aware job broker for a few personal machines, with an MCP server
AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
RaspiMIDIHubRaspberry Pi as a plug-and-play USB MIDI hub with virtual instruments- StreambedPostgres-to-Iceberg CDC engine with a built-in Postgres wire query server
AntirionAI gateway in one Rust binary, with the admin console built in
TellyscopeAndroid TV debloater and remote that runs from a phone over ADB