add macos system settings to config

This commit is contained in:
2026-04-21 04:47:53 -05:00
parent 9a1b1a99c6
commit b1aa39af57
2 changed files with 98 additions and 2 deletions
+96 -2
View File
@@ -12,7 +12,88 @@
];
# since darwin needs root now
system.primaryUser = "bhelderman";
system = {
primaryUser = "bhelderman";
defaults = {
trackpad = {
Clicking = true;
TrackpadThreeFingerDrag = true;
TrackpadFourFingerVertSwipeGesture = 2;
TrackpadRightClick = true;
TrackpadFourFingerHorizSwipeGesture = 2;
TrackpadPinch = true;
TrackpadRotate = true;
TrackpadTwoFingerDoubleTapGesture = true;
TrackpadTwoFingerFromRightEdgeSwipeGesture = 3;
};
universalaccess = {
mouseDriverCursorSize = 3.0;
};
NSGlobalDomain = {
AppleICUForce24HourTime = true;
AppleInterfaceStyle = "Dark";
NSAutomaticCapitalizationEnabled = false;
NSDocumentSaveNewDocumentsToCloud = false;
};
WindowManager = {
EnableStandardClickToShowDesktop = false;
GloballyEnabled = false; # disable stage manager
};
controlcenter = {
BatteryShowPercentage = true;
Bluetooth = true;
Display = false;
FocusModes = false;
NowPlaying = false;
Sound = false;
};
menuExtraClock = {
ShowDate = 1;
ShowDayOfWeek = true;
Show24Hour = true;
ShowSeconds = true;
};
dock = {
autohide = true;
largesize = 16;
mineffect = "genie";
minimize-to-application = true;
orientation = "bottom";
scroll-to-open = true;
show-recents = false;
};
finder = {
AppleShowAllExtensions = true;
NewWindowTarget = "Home";
ShowPathbar = true;
ShowStatusBar = true;
};
hitoolbox.AppleFnUsageType = "Change Input Source";
iCal = {
"first day of week" = "Monday";
};
loginwindow = {
LoginwindowText = "howdy o/";
GuestEnabled = false;
};
screencapture.type = "png";
screensaver = {
askForPassword = true;
askForPasswordDelay = 15;
};
};
};
power = {
sleep = {
computer = 30;
display = 5;
allowSleepByPowerButton = true;
};
};
# import home grown host specific home-manager modules
home-manager.users.bhelderman.imports = [
@@ -43,10 +124,23 @@
];
casks = [
"gnucash"
"battery-toolkit"
"linearmouse"
"utm"
"libreoffice"
];
masApps = {
# "name" = app_id_number;
"configurator" = 1168254295;
"bitwarden" = 1352778147;
"darkreader" = 1438243180;
"ghostery" = 6504861501;
"privacy" = 6449850851;
"hiddenbar" = 1452453066;
"testflight" = 899247664;
"pages" = 409201541;
"numbers" = 409203825;
"keynote" = 409183694;
};
};
+2
View File
@@ -27,6 +27,8 @@ instructions for first time setup for macos here
vim
lf
btop
rectangle
pinentry_mac
];
users.users.bhelderman = {