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, ... }: { { pkgs, ... }: {
system.defaults = { system.defaults = {
NSGlobalDomain.AppleInterfaceStyle = "Dark"; NSGlobalDomain = {
NSGlobalDomain._HIHideMenuBar = false; AppleInterfaceStyle = "Dark";
AppleMenuBarVisibleInFullscreen = true;
AppleLanguages = [ "en-US" "ru-US" ];
AppleMiniaturizeOnDoubleClick = false;
AppleAntiAliasingThreshold = 4;
NSAutomaticCapitalizationEnabled = true;
NSAutomaticPeriodSubstitutionEnabled = true;
NSAutomaticQuoteSubstitutionEnabled = true;
};
CustomUserPreferences = { CustomUserPreferences = {
"com.apple.HIToolbox" = { "com.apple.HIToolbox" = {
@ -60,10 +68,6 @@
}; };
}; };
}; };
"NSGlobalDomain" = {
"AppleMenuBarVisibleInFullscreen" = true;
};
}; };
controlcenter = { controlcenter = {
@ -71,9 +75,30 @@
}; };
trackpad = { trackpad = {
# Clicking
Clicking = true; Clicking = true;
TrackpadThreeFingerDrag = false;
TrackpadRightClick = true; 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 = { finder = {
@ -81,6 +106,7 @@
ShowPathbar = true; ShowPathbar = true;
ShowStatusBar = true; ShowStatusBar = true;
FXPreferredViewStyle = "clmv"; FXPreferredViewStyle = "clmv";
FXPreferredGroupBy = "Date Modified";
NewWindowTarget = "Home"; NewWindowTarget = "Home";
ShowExternalHardDrivesOnDesktop = false; ShowExternalHardDrivesOnDesktop = false;
ShowHardDrivesOnDesktop = false; ShowHardDrivesOnDesktop = false;