diff --git a/modules/darwin/system.nix b/modules/darwin/system.nix index 3e36126b..39393644 100644 --- a/modules/darwin/system.nix +++ b/modules/darwin/system.nix @@ -94,6 +94,7 @@ WebKitDeveloperExtras = true; }; "com.apple.finder" = { + AppleShowAllFiles = true; ShowExternalHardDrivesOnDesktop = true; ShowHardDrivesOnDesktop = true; ShowMountedServersOnDesktop = true; @@ -147,6 +148,15 @@ # # disabled, caused only problems! swapLeftCommandAndLeftAlt = false; + + userKeyMapping = [ + # remap escape to caps lock + # so we swap caps lock and escape, then we can use caps lock as escape + { + HIDKeyboardModifierMappingSrc = 30064771113; + HIDKeyboardModifierMappingDst = 30064771129; + } + ]; }; };