Unofficial Hacker News companion — get notified on comment replies, and more.

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

1178 points by jlelse 5 days ago | janlukas.blog | 557 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (6)

  1. 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.
            Replies (1)
            1. Customizable as it is, NixOS is probably one of the best options for creating a system with minimal attack surface. It also makes snapshots unnecessary.