New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL Certificates not configured by default. #101
Comments
Hmm, this is a bit tricky potentially. In NixOS these environment variables are set up by a setup hook, which exports variables with the full store paths of the certificates. We don't really have a good point at which we can run the setup hooks. An alternative - since we have the symlink layer - is to always set the variable to the path outside of the store. That's probably a decent initial solution. |
Docker does have support for setting default variables in the image. I don't know if the nix builder supports that but it might be a route to investigate. |
Yeah, we can set environment variables (the builder code is part of Nixery itself) in the image. The question is what to set them to. I have some ideas, but need to try it out ... |
Is there any progress on this? Discovered the same problem with |
This could probably be solved, by setting Discussion on this (and some other basic guarantees on nixery-built containers) is happening in #133. |
It seems to be relatively easy to solve:
Maybe this should be added to the docs or ideally set the environment variable automatically.
The text was updated successfully, but these errors were encountered: