From ea7507e7e3c0abded1d50cef95d7226374e09403 Mon Sep 17 00:00:00 2001 From: Brian Nelson Date: Tue, 20 Oct 2026 10:57:47 -0400 Subject: [PATCH] started on mac-settings --- mac-settings.nix | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 mac-settings.nix diff --git a/mac-settings.nix b/mac-settings.nix new file mode 100644 index 0000000..c25b5c4 --- /dev/null +++ b/mac-settings.nix @@ -0,0 +1,65 @@ +# This is a WIP, this file is not yet imported to the config +{ config, ... }: + +{ + system.defaults = { + NSGlobalDomain = { + AppleEnableSwipeNavigateWithScrolls = true; + AppleIconAppearanceTheme = "RegularDark"; + AppleInterfaceStyle = "Dark"; + NSDocumentSaveNewDocumentsToCloud = false; + NSNavPanelExpandedStateForSaveMode = true; + NSNavPanelExpandedStateForSaveMode2 = true; + "com.apple.trackpad.enableSecondaryClick" = true; + }; + + controlcenter = { + AirDrop = 18; #true; + Bluetooth = 18; #true; + Sound = 18; #true; + }; + + dock = { + autohide = true; + largesize = 20; + magnification = 40; + mineffect = "scale"; + minimize-to-application = true; + # This is all an example of how to set the apps in the Dock. + # The key is to remember to update this before rebuilding. + # I may move this item to another file to keep things clean. + # persistent-apps = [ + # { + # app = "/Applications/Safari.app"; + # } + # { + # spacer = { + # small = true; + # }; + # } + # { + # folder = "/System/Applications/Utilities"; + # } + # { + # file = "/User/example/Downloads/test.csv"; + # } + # ] + wvous-br-corner = 11; # Launchpad or Apps + wvous-tl-corner = 13; # lock screen + }; + + finder = { + AppleShowAllExtensions = true; + AppleShowAllFiles = true; + FXPreferredViewStyle = "clmv"; + ShowPathbar = true; + }; + + magicmouse.MouseButtonMode = "TwoButton"; + + trackpad = { + TrackpadPinch = true; + TrackpadRightClick = true; + } + }; +} \ No newline at end of file