Added mouse and keyboard configuration to nix-darwin config

This commit is contained in:
Random936 2024-06-04 12:58:12 -07:00
parent fc00248ad6
commit b77f0d436c

View File

@ -32,6 +32,14 @@
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
nix.package = pkgs.nix; nix.package = pkgs.nix;
# Keyboard and Mouse
system.keyboard = {
enableKeyMapping = true;
remapCapsLockToEscape = true;
};
system.defaults.NSGlobalDomain."com.apple.swipescrolldirection" = true;
# Create /etc/zshrc that loads the nix-darwin environment. # Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; programs.zsh.enable = true;