Declarative containers in NixOS - Nix

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Sridhar Ratnakumar

This is great: https://nixos.org/manual/nixos/stable/#ch-containers

The /nix store is shared, and you specify the container's configuration.nix declaratively (it can't be modified, or nix-shell be run, from inside the container).

Sridhar Ratnakumar

And the container's filesystem is available under /var/lib/containers of host.