An unofficial, read-only Hacker News reader.

AI made self-hosting fun again (opens external site)

1160 points by jlelse 3 days ago | janlukas.blog | 550 comments on HN

View full thread · View on Hacker News

Comment thread (14)

  1. NixOS is a must-have for this. There's no way I and the LLM could have created and manage about 20+ services and 30+ timers in a sane way on arch, which I had been running for 10 years until 2026.
    Replies (2)
    1. Yes, and finally there is a sane way to use NixOS, which otherwise has quite steep learning curve.

      And for those who don't want to commit to a quirky OS – mise version manager has bootstrap/deploy commands that do a similar job of defining systems in configs but without OS and reproducibility.

      https://mise.jdx.dev/bootstrap.html

      Replies (2)
      1. I've been using nix's home manager for this purpose on all of my Linux computers (Fedora, OpenSUSE, Ubuntu). It took me some time to write my config by hand circa 2024, but this year I've not even looked at the source code and primarily updated it via Claude Code. Insane times we are living in.
      2. >finally there is a sane way to use NixOS

        You mean ask GPT to use it for you?

        (Not being sarcastic, that seems to be what you are implying.)

        Replies (2)
        1. Not the OP but yes. Like Home Assistant or configuring RouterOS. The outcome and philosophy is what I want, the tedium is not.
          Replies (1)
          1. Yeah I just thought it was funny, like "Finally a simple and easy way to fix your roof: pay someone else to do it!"
            Replies (1)
            1. It is kind of like that, isn't it?

              But if you can find someone who will appear instantly and work on my roof at any time of day or night for a flat $20 per month, please sign me up. :)

        2. yes, this was the meaning

          i was unlucky doing some NixOS from scratch by hand, and while I liked idea this was painful

          now i can enjoy idea without writing nix configs

    2. For desktops I get it, but servers? Nix is huge compared to a slim ~50Mb Linux container. With a few dependencies to install per app + snapshots, the single-file config isn't that appealing.
      Replies (1)
      1. Why would you run NixOS in a container?
        Replies (1)
        1. OP was about selfhosting/servers and I heard about people using Nix as a server OS, I thought that was the case here.
          Replies (1)
          1. Yes, people run NixOS on servers. Is your only requirement for a server OS that it is small?
            Replies (1)
            1. "Small" is not just the size on the disk (tho that is also important if you want timely snapshots), but attack surface, and keeping that small is a very important requirement.

              Continue this thread (1 replies) →