diff options
author | Alan Pearce | 2024-11-17 15:58:25 +0100 |
---|---|---|
committer | Alan Pearce | 2024-11-17 15:58:25 +0100 |
commit | cc1bae580ce23164093b0e2a59dd91044ea74ae7 (patch) | |
tree | 3acc801ad69dcd10690327b44a43d62b64e17aad /system/marvin.nix | |
parent | a2ce781816d5e2c5d61ab1dfe5c2d210298f3358 (diff) | |
download | nixfiles-cc1bae580ce23164093b0e2a59dd91044ea74ae7.tar.lz nixfiles-cc1bae580ce23164093b0e2a59dd91044ea74ae7.tar.zst nixfiles-cc1bae580ce23164093b0e2a59dd91044ea74ae7.zip |
marvin: configure macOS settings (aka defaults)
Diffstat (limited to 'system/marvin.nix')
-rw-r--r-- | system/marvin.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/system/marvin.nix b/system/marvin.nix index cc02a202..1907aa39 100644 --- a/system/marvin.nix +++ b/system/marvin.nix @@ -49,4 +49,53 @@ } ]; }; + + 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; + }; + }; } |