restructed modules for home and work, untested
This commit is contained in:
64
modules/mac-settings.nix
Normal file
64
modules/mac-settings.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user