Darwin config update

This commit is contained in:
Lukas Cech 2025-01-17 10:04:21 +01:00
parent b3a2813e31
commit edac0da023

View File

@ -15,6 +15,7 @@ let
# Write the mapping in such a way that:
# NEWTILDE switches with NEWPIPE
# NEWPIPE overrides NEWPLUSMINUS
# https://hidutil-generator.netlify.app/
UserKeyMapping = [
{
HIDKeyboardModifierMappingSrc = 30064771125;
@ -111,8 +112,9 @@ in
};
NSGlobalDomain = {
AppleShowScrollBars = "WhenScrolling";
AppleShowScrollBars = "Automatic";
AppleScrollerPagingBehavior = true;
AppleSpacesSwitchOnActivate = lib.mkDefault true;
"com.apple.swipescrolldirection" = false;
NSAutomaticCapitalizationEnabled = false; # disable auto capitalization
NSAutomaticDashSubstitutionEnabled = false; # disable auto dash substitution
@ -122,6 +124,14 @@ in
NSNavPanelExpandedStateForSaveMode = true; # expand save panel by default
};
spaces = {
spans-displays = lib.mkDefault true;
};
WindowManager = {
EnableStandardClickToShowDesktop = lib.mkDefault false;
};
# Customize settings that not supported by nix-darwin directly
# see the source code of this project to get more undocumented options:
# https://github.com/rgcr/m-cli