First set up your keyboard layout. For example, in Spanish:
# loadkeys es
For a list of all acceptable keymaps:
# localectl list-keymaps
| ### | |
| ### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
| ###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
| ###. things to watch out for: | |
| ### - Check out the `nix-darwin` instructions, as they have changed. | |
| ### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
| ### | |
| # I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
| # So here's a minimal Gist which worked for me as an install on a new M1 Pro. |
| #!/bin/bash | |
| # | |
| # Restart Bluetooth Module on Mac OS X | |
| # | |
| # Requires Blueutil to be installed: http://brewformulas.org/blueutil | |
| BT="/usr/local/bin/blueutil" | |
| log() { | |
| echo "$@" |