restructed modules for home and work, untested

This commit is contained in:
2026-11-09 10:58:31 -05:00
parent 10bac6ed32
commit b3f749f8bf
13 changed files with 116 additions and 44 deletions

64
modules/mac-settings.nix Normal file
View File

@@ -0,0 +1,64 @@
{ ... }:
{
system.defaults = {
NSGlobalDomain = {
AppleEnableSwipeNavigateWithScrolls = true;
AppleIconAppearanceTheme = "RegularDark";
AppleInterfaceStyle = "Dark";
NSDocumentSaveNewDocumentsToCloud = false;
NSNavPanelExpandedStateForSaveMode = true;
NSNavPanelExpandedStateForSaveMode2 = true;
"com.apple.trackpad.enableSecondaryClick" = true;
};
controlcenter = {
AirDrop = true;
Bluetooth = true;
Sound = true;
};
dock = {
autohide = true;
largesize = 40;
magnification = true;
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;
};
};
}