updated to build for nix and as development. Updated config.