Hello Nix community,
I came across you through a post and am very enthusiastic about the concept of nix.
Accordingly, I wanted to integrate it into our company because we are just revising our infrastructure.
My boss was skeptical from the beginning and the difficulties I had with Nix has his interest against 0 dwindle what I find a pity.
Therefore, I wanted to ask here if I could be a little explained to my observations and problems that had / have to convince my boss but that we use Nixos.
The basic structure is always the same only the applications change always correspond We use Rootwebserver from Hetzner have this runs a self-installed Proxmox not the template from Hetzner.
In this Proxmos installation we create corresponding VM.
The goal of our test was to set up a mail server with roundcube and ssl connections.
The whole thing worked fine, except for a few small things.
1. the biggest problem which my boss has but I also see. Is to be an unreliable domain resolution, more precisely to have difficulties with the virtual network card.
How I come up with this guess.
â—¦ In order for us to get Nixos installed at all we had to put a nameserver in etc/resolv.conf as well as ip for card etc.
I see as not bad, since it is in the installation and there Nix probably simply still that can not yet read properly, vllt it was also due to the minimal installation in combination with the VM.
â—¦ In the process, we had then already determined that ipv6 does not work and we have adjusted our setting accordingly from.
from: networking.nameserver = [ “8.8.8.8” ]
to networking.nameserver = [ “8.8.8.8” " " 2001:4860:4860::8888" ]
With this setting Nixos also runs very well, mailserver runs sends email as wanted etc.
â—¦ Now however the disturbing why Nixos is rejected. After some time 2-3 days we perform a reboot, after this reboot nix can no longer process ipv4 properly.
We get only in info host is not reachable.
Neither a new reboot nor a rebuild fixes the problem, so that it runs again, I save on the virtual network card around and change version from Intel to Realtek or vmswitch etc. and reboot again and again so that nixos this correctly and at some point then suddenly the ipv4 resolution works again without problems.
If someone here could give me approaches or has the puzzle solution I would be very open. Observed we have that with nix os 21.11 we have now on nixos 22.05 geupdate and will continue to observe it.
2nd difficulty, roundcube did not want to work with minimal settings on ssl correspond I have had in nixos config, several setting which I commented out with #.
Nixos then writes to the roundcube settings file on rebuild. config.inc.php , problem that arises Nixos convert # not to //. Which is why all settings were always active, which worked with different settings than expected, until I found this out, several hours went by.
Is this intentional, bug or wanted, do I have to make sure that I comment out doubles (# //) in other packages in the future ?
If this is a bug where do I report it to nix because it happens during rebuild or to package creator because his parameter passes it wrong ?
3. my current problem i have is that roundcube doesn’t want to send email. But via normal client it works. My guess is somewhere in the certificates between server and roundcube application.
I would like to debug this, but I can’t find a log.
That’s the question how do you go schematically in Nixos on the search for wrong setting?
4. and the last with the update to 22.05 I get with rebbuild that an obsolete function is used, I looked in my settings but did not find this so it is used somewhere in a subproject, how can I find out which package uses the obsolete function here ?
About answers also to single points I would be pleased very much, gladly one can take up also by PN contact If the explanation or solution ansetze the forum would blow up.
I hope we manage to convince my boss and that my optimism was not in vain