Hacker News new | ask | show | jobs
by kuhsaft 1311 days ago
Though it’s like comparing apples and oranges, the primary advantage over containers would be performance.

Nix (not to be confused with NixOS) is a package manager. Think of it like apt.

Containers on the other hand are (usually) utilizing kernel level isolation to run a whole user space starting with PID 1. These isolation techniques have overhead.

Since Nix is a user space application, you can run it in a container and Nix provides one `nixos/nix`.