nix/modules/macos.nix
Harivansh Rathi 09d138e992 move karabiner-elements to homebrew, add macfuse and sshfs-mac
nix-darwin's karabiner module is broken with 15.7+ - the karabiner_grabber
and karabiner_observer binaries no longer exist, causing system daemons to
fail with exit code 78. Moved karabiner-elements to homebrew cask which
handles its own service registration correctly.

Also adds macfuse cask and gromgit/fuse/sshfs-mac brew, updates
agentcomputer-cli flake input, and tweaks zsh alias.
2026-03-27 23:27:42 -04:00

17 lines
434 B
Nix

{...}: {
security.pam.services.sudo_local.touchIdAuth = true;
# Karabiner-Elements is managed via Homebrew cask because nix-darwin's
# built-in module is broken with 15.7+ (missing karabiner_grabber/observer binaries).
system.defaults = {
dock.autohide = true;
dock.show-recents = false;
NSGlobalDomain = {
ApplePressAndHoldEnabled = false;
InitialKeyRepeat = 15;
KeyRepeat = 2;
};
};
}