···
+
# nothing but finder in the doc
+
system.defaults.dock = {
+
# allow using apple watch or touch id for sudo
+
security.pam.services.sudo_local.touchIdAuth = true;
+
security.pam.services.sudo_local.watchIdAuth = true;
+
finder.FXPreferredViewStyle = "Nlsv";
+
finder.AppleShowAllExtensions = true;
+
# expand the save dialogs
+
NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true;
+
NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = true;
+
LaunchServices.LSQuarantine = false; # disables "Are you sure?" for new apps
+
loginwindow.GuestEnabled = false;
+
NSGlobalDomain."com.apple.trackpad.scaling" = 0.875;
+
CustomSystemPreferences = {
+
"com.apple.DiskArbitration.diskarbitrationd" = {
+
DADisableEjectNotification = true;
+
CustomUserPreferences = {
+
"com.apple.driver.AppleBluetoothMultitouch.mouse" = {
+
MouseButtonMode = "TwoButton";
+
"com.apple.WindowManager" = {
+
EnableTiledWindowMargins = false;
+
"com.apple.desktopservices" = {
+
# Avoid creating .DS_Store files on network or USB volumes
+
DSDontWriteNetworkStores = true;
+
DSDontWriteUSBStores = true;
+
allowApplePersonalizedAdvertising = false;
+
"com.apple.SoftwareUpdate" = {
+
AutomaticCheckEnabled = true;
+
# Check for software updates daily, not just once per week
+
# Download newly available updates in background
+
# Install System data files & security updates
+
CriticalUpdateInstall = 1;
+
# Script to export symbolic hotkey configs from MacOS
+
# https://gist.github.com/sawadashota/8e7ce32234e0f07a03e955f22ec4c0f9
+
# Screenshot selected area to file with Cmd+Option+Shift+4
+
"com.apple.symbolichotkeys" = {
+
AppleSymbolicHotKeys = {
+
# Screenshot selected area with Option+Cmd+Shift+4
+
# Screenshot selected area to clipboard with Cmd+Shift+4
+
# Fullscreen screenshot Option+Cmd+Shift+3
+
# Fullscreen screenshot to clipboard Cmd+Shift+3
# Used for backwards compatibility, please read the changelog before changing