marvin: configure macOS settings (aka defaults)
Alan Pearce alan@alanpearce.eu
Sun, 17 Nov 2024 15:58:25 +0100
1 files changed, 49 insertions(+), 0 deletions(-)
jump to
M system/marvin.nix → system/marvin.nix
@@ -49,4 +49,53 @@ supportedFeatures = [ ]; } ]; }; + + system.defaults = { + dock = { + launchanim = false; + autohide = true; + autohide-delay = 0.05; + autohide-time-modifier = 0.12; + mineffect = "scale"; + minimize-to-application = true; + show-process-indicators = false; + scroll-to-open = true; + expose-animation-duration = 0.5; + }; + finder = { + QuitMenuItem = true; + NewWindowTarget = "Home"; + _FXSortFoldersFirst = true; + FXDefaultSearchScope = "SCcf"; # current folder + FXPreferredViewStyle = "clmv"; # column view + FXRemoveOldTrashItems = true; + FXEnableExtensionChangeWarning = false; + }; + NSGlobalDomain = { + AppleShowScrollBars = "Always"; + }; + screensaver = { + askForPasswordDelay = 60; + }; + menuExtraClock = + let + if-space = 0; + always = 1; + never = 2; + in + { + Show24Hour = true; + ShowDate = never; + }; + hitoolbox = { + AppleFnUsageType = "Do Nothing"; + }; + trackpad = { + TrackpadThreeFingerTapGesture = 2; # Lookup + }; + controlcenter = { + Sound = true; + FocusModes = true; + }; + }; }