feat: sync all current macOS system defaults from running system

This commit is contained in:
mikl 2026-07-01 13:04:51 +03:00
parent 352df44908
commit 65319be12b

View file

@ -1,7 +1,15 @@
{ pkgs, ... }: {
system.defaults = {
NSGlobalDomain.AppleInterfaceStyle = "Dark";
NSGlobalDomain._HIHideMenuBar = false;
NSGlobalDomain = {
AppleInterfaceStyle = "Dark";
AppleMenuBarVisibleInFullscreen = true;
AppleLanguages = [ "en-US" "ru-US" ];
AppleMiniaturizeOnDoubleClick = false;
AppleAntiAliasingThreshold = 4;
NSAutomaticCapitalizationEnabled = true;
NSAutomaticPeriodSubstitutionEnabled = true;
NSAutomaticQuoteSubstitutionEnabled = true;
};
CustomUserPreferences = {
"com.apple.HIToolbox" = {
@ -60,10 +68,6 @@
};
};
};
"NSGlobalDomain" = {
"AppleMenuBarVisibleInFullscreen" = true;
};
};
controlcenter = {
@ -71,9 +75,30 @@
};
trackpad = {
# Clicking
Clicking = true;
TrackpadThreeFingerDrag = false;
TrackpadRightClick = true;
TrackpadThreeFingerDrag = false;
TrackpadHandResting = true;
DragLock = false;
Dragging = false;
# Scroll
TrackpadScroll = true;
TrackpadHorizScroll = true;
TrackpadMomentumScroll = true;
# Gestures
TrackpadPinch = true;
TrackpadRotate = true;
TrackpadThreeFingerTapGesture = 0;
TrackpadTwoFingerDoubleTapGesture = 1;
TrackpadTwoFingerFromRightEdgeSwipeGesture = 3;
TrackpadThreeFingerVertSwipeGesture = 2;
TrackpadFourFingerHorizSwipeGesture = 2;
TrackpadFourFingerVertSwipeGesture = 0;
TrackpadFourFingerPinchGesture = 2;
TrackpadFiveFingerPinchGesture = 2;
};
finder = {
@ -81,6 +106,7 @@
ShowPathbar = true;
ShowStatusBar = true;
FXPreferredViewStyle = "clmv";
FXPreferredGroupBy = "Date Modified";
NewWindowTarget = "Home";
ShowExternalHardDrivesOnDesktop = false;
ShowHardDrivesOnDesktop = false;