dotfiles.nix/darwin/defaults.nix

53 lines
1.0 KiB
Nix
Raw Normal View History

2022-01-23 01:32:58 +00:00
{ ... }:
{
system.defaults.NSGlobalDomain = {
2022-09-15 21:17:21 +00:00
AppleInterfaceStyleSwitchesAutomatically = true;
2022-01-23 01:32:58 +00:00
NSAutomaticCapitalizationEnabled = false;
_HIHideMenuBar = false;
};
# Firewall
system.defaults.alf = {
globalstate = 1;
allowsignedenabled = 1;
allowdownloadsignedenabled = 1;
stealthenabled = 1;
};
# Dock and Mission Control
system.defaults.dock = {
2022-02-12 23:30:53 +00:00
autohide = true;
2022-01-23 01:32:58 +00:00
expose-group-by-app = false;
2022-08-30 23:02:10 +00:00
mru-spaces = false;
2022-02-12 23:30:53 +00:00
tilesize = 80;
2022-01-23 01:32:58 +00:00
# Disable all hot corners
wvous-bl-corner = 1;
wvous-br-corner = 1;
wvous-tl-corner = 1;
wvous-tr-corner = 1;
};
# Finder
system.defaults.finder = {
AppleShowAllExtensions = true;
FXEnableExtensionChangeWarning = true;
};
# Login and lock screen
system.defaults.loginwindow = {
GuestEnabled = false;
DisableConsoleAccess = true;
};
# Spaces
system.defaults.spaces.spans-displays = false;
# Trackpad
system.defaults.trackpad = {
Clicking = true;
TrackpadRightClick = true;
TrackpadThreeFingerDrag = true;
};
}