···
110
+
# nothing but finder in the doc
111
+
system.defaults.dock = {
112
+
persistent-apps = [ ];
115
+
show-recents = false;
118
+
# allow using apple watch or touch id for sudo
119
+
security.pam.services.sudo_local.touchIdAuth = true;
120
+
security.pam.services.sudo_local.watchIdAuth = true;
122
+
system.defaults = {
123
+
finder.FXPreferredViewStyle = "Nlsv";
124
+
finder.AppleShowAllExtensions = true;
125
+
# expand the save dialogs
126
+
NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true;
127
+
NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = true;
128
+
LaunchServices.LSQuarantine = false; # disables "Are you sure?" for new apps
129
+
loginwindow.GuestEnabled = false;
131
+
NSGlobalDomain."com.apple.trackpad.scaling" = 0.875;
133
+
CustomSystemPreferences = {
134
+
"com.apple.DiskArbitration.diskarbitrationd" = {
135
+
DADisableEjectNotification = true;
139
+
CustomUserPreferences = {
140
+
"com.apple.driver.AppleBluetoothMultitouch.mouse" = {
141
+
MouseButtonMode = "TwoButton";
143
+
"com.apple.WindowManager" = {
144
+
EnableTiledWindowMargins = false;
146
+
"com.apple.desktopservices" = {
147
+
# Avoid creating .DS_Store files on network or USB volumes
148
+
DSDontWriteNetworkStores = true;
149
+
DSDontWriteUSBStores = true;
151
+
"com.apple.AdLib" = {
152
+
allowApplePersonalizedAdvertising = false;
154
+
"com.apple.SoftwareUpdate" = {
155
+
AutomaticCheckEnabled = true;
156
+
# Check for software updates daily, not just once per week
157
+
ScheduleFrequency = 1;
158
+
# Download newly available updates in background
159
+
AutomaticDownload = 1;
160
+
# Install System data files & security updates
161
+
CriticalUpdateInstall = 1;
164
+
# Script to export symbolic hotkey configs from MacOS
165
+
# https://gist.github.com/sawadashota/8e7ce32234e0f07a03e955f22ec4c0f9
166
+
# Screenshot selected area to file with Cmd+Option+Shift+4
167
+
"com.apple.symbolichotkeys" = {
168
+
AppleSymbolicHotKeys = {
169
+
# Screenshot selected area with Option+Cmd+Shift+4
181
+
# Screenshot selected area to clipboard with Cmd+Shift+4
193
+
# Fullscreen screenshot Option+Cmd+Shift+3
205
+
# Fullscreen screenshot to clipboard Cmd+Shift+3
# Used for backwards compatibility, please read the changelog before changing