> that means you need to run NixOS for that to work
Does it? I'm pretty sure you're able to run Nix (the package manager) on Arch Linux for example, I'm also pretty sure you can do that on things like macOS too but that I haven't tested myself.
Or maybe something regarding this has changed recently?
sorry, yes to build it is fine, but managing them with Nix (e.g. dealing with which ports to expose and etc like in the article) requires NixOS.
edit: I actually never checked, but I guess nothing stops home-manager or nix-darwin from working too, but I don't think either supports running containers by default. EOD all NixOS does is make a systemd service which runs `docker run ..` for you.
Re:A story on home server security
by libeclipse on Sunday January 05, 2025 @12:01PM
(#42603109)
You don't need NixOS to use Nix as a package manager/build system
Worth noting the tradeoffs, but I agree using Nix for this makes life more pleasant and easy to maintain.