• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle

  • I’m in the process of migrating my servers to NixOS. It takes a lot of time and the learning curve is steep, but I have one config shared for all the servers and PCs. I have setup the servers to automatically pull the latest configuration everyday and even restart if there’s a kernel update.

    This means I just need to update my laptop and push the changes to the repository, and all the servers will also update.

    I haven’t had this setup long enough to know if things will break unexpectedly with updates tho. NixOS has a great feature where you can rollback to a previous configuration (generation) with a single command. You can always keep using containers to isolate updates, if you want (Nix allows you to declare those in the config as well).

    As an example, you can take a look at my config.

    EDIT: Systemd timers have an option to randomize the time a service runs, I use it all the time. The option for Nix’s config pulling is using systemd timers, so you can use that.




  • I self-host my own mail server. I don’t send many emails, but they seem to be arriving correctly whenever I do at the moment, but it wasn’t always like this. I’ve properly setup SPF, DKIM and DMARC, which helps a lot, but my IP address was blacklisted on some servers from a previous owner I guess. I have a VPS from OVH. I had to manually fill out some forms to get Microsoft Outlook to accept emails from my server. Despite that, it has been working flawlessly. I have my own domain since 2017, and I’d say the age of the domain is also important.