This is my current config for now, who, obviously don’t work (the lego command pas a bunch of junk as the --email flag), my secret contain exacly email@exemple.org .
I don’t have really a good idea to how to do it, other than just hardcode my email on the config, but remove all the interest to have it centralize on one single place.
I’m not really interest on avoid it to have my email on the nix store, can be a nice touch, but after all if someone really want it, they gonna find it (without even needing to read my nix store)
builtins.readFile is an evaluation time function so even if it was able to read the file containing your email, using it would copy your email to the nix store. I’m not familiar with vaultix, but you might be reading the encrypted file.
It depends on which CA you’re using, however some CAs (particularly Let’s Encrypt) don’t require any email.
Even if it’s a temporay solution, indeed i use Let’s Encrypt, i don’t want to resume on this solution, since i can, one day want to change where come from my certificate and that can become a issue