Snapshots
Some things aren’t set with a switch but arranged: the apps in your Dock, the order of your menu bar, your wallpaper. You arrange them once, capture them, and your configuration restores them.
nix run github:sushydev/nix-plist-manager#capture -- applications.systemSettings.desktopAndDock.dock.contents ./dockThat writes what macOS has right now into ./dock. Point the option at it:
desktopAndDock.dock.contents = ./dock;Settings captured this way:
desktopAndDock.dock.contents— the Dock’s apps and foldersmenuBar.layout— which items show in the menu bar, and in what orderwallpaper.wallpaper— the wallpaper for every display and Space- a few Accessibility voices and sounds, which point at downloaded assets
Capture again whenever you rearrange things, and commit the directory with the rest of your configuration.