3p/nix: Fix all clang-tidy warnings

#11
Opened by kanepyork at 2020-07-28T01·26+00

Now that clang-tidy is enabled, clean up the existing warnings.