From 114d75da7fbdfb6f69a429379671b940bda8095c Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sat, 12 Apr 2025 22:47:45 -0400 Subject: [PATCH] Add more mac defaults --- machines/zelus/configuration.nix | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/machines/zelus/configuration.nix b/machines/zelus/configuration.nix index e04b16b..75c8d24 100644 --- a/machines/zelus/configuration.nix +++ b/machines/zelus/configuration.nix @@ -48,15 +48,23 @@ ]; }; - NSGlobalDomain = { - "com.apple.sound.beep.feedback" = 0; - "com.apple.sound.beep.volume" = 0.0; - ApplePressAndHoldEnabled = false; - InitialKeyRepeat = 10; - KeyRepeat = 2; - AppleShowAllExtensions = true; - AppleShowScrollBars = "Automatic"; - }; + NSGlobalDomain.AppleShowAllExtensions = true; + NSGlobalDomain.AppleShowScrollBars = "Always"; + NSGlobalDomain.NSUseAnimatedFocusRing = false; + NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true; + NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = true; + NSGlobalDomain.PMPrintingExpandedStateForPrint = true; + NSGlobalDomain.PMPrintingExpandedStateForPrint2 = true; + NSGlobalDomain.NSDocumentSaveNewDocumentsToCloud = false; + NSGlobalDomain.ApplePressAndHoldEnabled = false; + NSGlobalDomain.InitialKeyRepeat = 25; + NSGlobalDomain.KeyRepeat = 2; + NSGlobalDomain."com.apple.mouse.tapBehavior" = 1; + NSGlobalDomain.NSWindowShouldDragOnGesture = true; + NSGlobalDomain.NSAutomaticSpellingCorrectionEnabled = false; + LaunchServices.LSQuarantine = false; # disables "Are you sure?" for new apps + loginwindow.GuestEnabled = false; + finder.FXPreferredViewStyle = "Nlsv"; }; security.pam.enableSudoTouchIdAuth = true;