config/systems/mmacbookpro/keyboard.nix

21 lines
521 B
Nix
Raw Normal View History

2023-04-02 16:03:21 +01:00
{ config, ... }:
{
system.keyboard = {
enableKeyMapping = true;
remapCapsLockToEscape = true;
};
system.defaults.NSGlobalDomain = {
# Speed up key repeat
2023-04-02 16:03:21 +01:00
InitialKeyRepeat = 14;
KeyRepeat = 1;
# In general, have Apple not mess with our text
NSAutomaticCapitalizationEnabled = false;
NSAutomaticDashSubstitutionEnabled = false;
NSAutomaticPeriodSubstitutionEnabled = false;
NSAutomaticQuoteSubstitutionEnabled = null;
NSAutomaticSpellingCorrectionEnabled = false;
2023-04-02 16:03:21 +01:00
};
}