• 0 Posts
  • 13 Comments
Joined 2 years ago
cake
Cake day: April 27th, 2024

help-circle


  • Zero.

    About 35 NixOS VMs though, each running either a single service (e.g. Paperless) or a suite (Sonarr and so on plus NZBGet, VPN,…).

    There’s additionally a couple of client VMs. All of those distribute over 3 Proxmox hosts accessing the same iSCSI target for VM storage.

    SSL and WireGuard are terminated at a physical firewall box running OpnSense, so with very few exceptions, the VMs do not handle any complicated network setup.

    A lot of those VMs have zero state, those that do have backup of just that state automated to the NAS (simply via rsync) and from there everything is backed up again through borg to an external storage box.

    In the stateless case, deploying a new VM is a single command; in the stateful case, same command, wait for it to come up, SSH in (keys are part of the VM images), run restore-<whatever>.

    On an average day, I spend 0 minutes managing the homelab.






  • smiletolerantly@awful.systemstoMicroblog Memes@lemmy.worldNooooo
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    3
    ·
    1 day ago

    I’m really glad my first (part time) job as a fresh-out-of-highschool 17 year old required me to call about 5-6 companies/people per workday. A good number of whom where existing business relations, so not a whole lot of room to fuck up.

    First week was really anxiety-inducing, because I HATED making phone calls.

    After that, no issue. Today, I’d 1000% rather call a doctor’s office, restaurant, plumber,… Than write an email. Online forms are fine, but phone calls are just better. You can get the back and forth often needed for planning done in like 5 seconds.





  • It also gives you a great deal of pleasure when you come up with Zangendeutsch-Translations which are technically correct Zangendeutsch, but so impossible to understand that you know readers will not be able to decipher it, meaning they’ll have to ask you, so you tell them, and their groan is audible from across the internet.

    And people say us Germans have no humor, tss.


  • Managing 30+ machines with NixOS in a single unified config, currently sitting at a total of around 17k lines of nix code.

    In other words, I have put a lot of time into this. It was a very steep learning curve, but it’s paid for itself multiple times over by now.

    For “newcomers”, my observations can be boiled down to this: if you only manage one machine, it’s not worth it. Maaaaaybe give home-manager a try and see if you like it.

    Situation is probably different with things like Silverblue (IMO throwing those kinds of distros in with Guix and NixOS is a bit misleading - very different philosophy and user experience), but I can only talk about Nix here.

    With Nix, the real benefit comes once you handle multiple machines. Identical or similar configurations get combined or parametrized. Config values set for Host A can be reused and decisions be made automatically based on it in Host B, for example:

    • all hosts know my SSH pub keys from first boot, without ever having to configure anything in any of them
    • my NAS IP is set once, all hosts requiring NAS access just reuse it implicitly
    • creating new proxmox VMs just means adding, on average, 10 lines of nix config (saying: your ID will be this, you will run that service) and a single command, because the heavy lifting and configuring has already been done, once -…