I don't know. The designer and founder of nix at least does not seem to explicitly exclude military use.
From what I understand, this is actually the root cause of the conflict here; the founder of the project seems to be fine with military use, some other members of the community are not.