Add more mac defaults

This commit is contained in:
Dave Gallant
2025-04-12 22:47:45 -04:00
parent 9bac637a14
commit 130b7603da
2 changed files with 18 additions and 12 deletions

View File

@@ -387,7 +387,7 @@ in
}; };
vscode = { vscode = {
enable = true; enable = stdenv.isLinux;
package = pkgs.vscode; package = pkgs.vscode;
extensions = extensions =
with pkgs.vscode-extensions; with pkgs.vscode-extensions;

View File

@@ -48,15 +48,23 @@
]; ];
}; };
NSGlobalDomain = { NSGlobalDomain.AppleShowAllExtensions = true;
"com.apple.sound.beep.feedback" = 0; NSGlobalDomain.AppleShowScrollBars = "Always";
"com.apple.sound.beep.volume" = 0.0; NSGlobalDomain.NSUseAnimatedFocusRing = false;
ApplePressAndHoldEnabled = false; NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true;
InitialKeyRepeat = 10; NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = true;
KeyRepeat = 2; NSGlobalDomain.PMPrintingExpandedStateForPrint = true;
AppleShowAllExtensions = true; NSGlobalDomain.PMPrintingExpandedStateForPrint2 = true;
AppleShowScrollBars = "Automatic"; 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; security.pam.enableSudoTouchIdAuth = true;
@@ -77,7 +85,6 @@
"coreutils" "coreutils"
"gnu-sed" "gnu-sed"
"gnu-tar" "gnu-tar"
"netdata"
"node" "node"
"oras" "oras"
"k6" "k6"
@@ -99,7 +106,6 @@
"mitmproxy" "mitmproxy"
"notunes" "notunes"
"ollama" "ollama"
"postman"
"raycast" "raycast"
"rectangle" "rectangle"
"signal" "signal"