Nix Chad
An opinionated MacOS setup focused on software development.
Features
Firefox
discoverable key mappings
After pressing ?
key a window enumerating all contextual key mappings
appears.
Neovim
programming/configuration languages support
language | actions | completion | diagnostics | formatting | highlighting |
---|---|---|---|---|---|
bash | ☒ | ☑ | ☑ | ☑ | ☑ |
dhall | ☒ | ☑ | ☑ | ☑ | ☑ |
docker | ☒ | ☒ | ☑ | ☒ | ☑ |
GitHub Actions workflow | ☑ | ☑ | ☑ | ☑ | ☑ |
html | ☒ | ☑ | ☑ | ☑ | ☑ |
java | ☒ | ☑ | ☑ | ☑ | ☑ |
json | ☒ | ☑ | ☑ | ☑ | ☑ |
javascript | ☑ | ☑ | ☑ | ☑ | ☑ |
lua | ☑ | ☑ | ☑ | ☑ | ☑ |
markdown | ☑ | ☑ | ☑ | ☑ | ☑ |
nix | ☒ | ☑ | ☑ | ☑ | ☑ |
purescript | ☑ | ☑ | ☑ | ☑ | ☑ |
python | ☑ | ☑ | ☑ | ☑ | ☑ |
typescript | ☑ | ☑ | ☑ | ☑ | ☑ |
yaml | ☑ | ☒ | ☑ | ☑ | ☑ |
discoverable key mappings
After pressing \
key a window enumerating all key mappings appears.
The same windows shows when user starts but does not finish a key
sequence which has some action assigned to it.
Prerequisites
Configuration
Initializing from a template
Run from a directory of your choice:
nix flake init --template github:mstream/nix-chad/main#default
Tweaking
Update any config entries to your liking like in this example.
Applying
After any change to configuration, run from the directory where
flake.nix
file resides:
nix run .#switch
Updating
To stay up to date witch changes to Nix Chad, run periodically:
nix flake update