General
Everything under System Settings › Accessibility › General, as Nix options. Each one is named after the control
you'd click, and set under programs.nix-plist-manager.options in home-manager.
Shortcut
Section titled “Shortcut”System Settings › Accessibility › Shortcut
applications.systemSettings.accessibility.shortcut.features = { accessibilityKeyboard = true; accessibilityReader = true; backgroundSounds = true; colorFilters = true; fullKeyboardAccess = true; headPointer = true; hoverText = true; hoverTyping = true; increaseContrast = true; invertDisplayColor = true; liveCaptions = true; liveSpeech = true; mouseKeys = true; reduceTransparency = true; showBorders = true; slowKeys = true; stickyKeys = true; vehicleMotionCues = true; voiceControl = true; voiceOver = true; zoom = true;}; An attribute set of switches, each true, false or left out: "accessibilityKeyboard""accessibilityReader""backgroundSounds""colorFilters""fullKeyboardAccess""headPointer""hoverText""hoverTyping""increaseContrast""invertDisplayColor""liveCaptions""liveSpeech""mouseKeys""reduceTransparency""showBorders""slowKeys""stickyKeys""vehicleMotionCues""voiceControl""voiceOver""zoom" "unset" puts back macOS's default.
Where it's stored and what runs
-
com.apple.universalaccessaxShortcutExposedFeatures
For unset:
/usr/bin/defaults delete com.apple.universalaccess axShortcutExposedFeatures 2>/dev/null || true/usr/bin/defaults -currentHost delete com.apple.universalaccess axShortcutExposedFeatures 2>/dev/null || trueFor { accessibilityKeyboard = true; accessibilityReader = true; backgroundSounds = true; colorFilters = true; fullKeyboardAccess = true; headPointer = true; hoverText = true; hoverTyping = true; increaseContrast = true; invertDisplayColor = true; liveCaptions = true; liveSpeech = true; mouseKeys = true; reduceTransparency = true; showBorders = true; slowKeys = true; stickyKeys = true; vehicleMotionCues = true; voiceControl = true; voiceOver = true; zoom = true; }:
/usr/bin/defaults write com.apple.universalaccess axShortcutExposedFeatures -dict-add feature.accessibilityReader -bool true feature.backgroundSounds -bool true feature.displayFilters -bool true feature.fullKeyboardAccess -bool true feature.headMouse -bool true feature.hoverText -bool true feature.hoverTyping -bool true feature.increaseContrast -bool true feature.invertDisplayColor -bool true feature.liveSpeech -bool true feature.motionCues -bool true feature.mouseKeys -bool true feature.reduceTransparency -bool true feature.showBorders -bool true feature.slowKeys -bool true feature.stickyKeys -bool true feature.systemTranscriptions -bool true feature.virtualKeyboard -bool true feature.voiceControl -bool true feature.voiceOver -bool true feature.zoom -bool true || echo 'nix-plist-manager: failed: /usr/bin/defaults write com.apple.universalaccess axShortcutExposedFeatures -dict-add feature.accessibilityReader -bool true feature.backgroundSounds -bool true feature.displayFilters -bool true feature.fullKeyboardAccess -bool true feature.headMouse -bool true feature.hoverText -bool true feature.hoverTyping -bool true feature.increaseContrast -bool true feature.invertDisplayColor -bool true feature.liveSpeech -bool true feature.motionCues -bool true feature.mouseKeys -bool true feature.reduceTransparency -bool true feature.showBorders -bool true feature.slowKeys -bool true feature.stickyKeys -bool true feature.systemTranscriptions -bool true feature.virtualKeyboard -bool true feature.voiceControl -bool true feature.voiceOver -bool true feature.zoom -bool true' >&2/usr/bin/defaults -currentHost delete com.apple.universalaccess axShortcutExposedFeatures 2>/dev/null || true