Files
nixpkgs/nixos/modules/virtualisation
Maximilian Bosch a532cb052e nixos/containers: add boot.isNspawnContainer option
There are a bunch of components such as incus or LXC that also use
`boot.isContainer`, so we'd have to differentiate between "OS container"
and "actually nspawn".

This became necessary for the file-systems part where nspawn takes care
of setting up special filesystems like `/proc`, `/dev` etc., but others
don't.

To allow for a `boot.isContainer` being less overloaded, this introduces
`boot.isNspawnContainer` that is exclusively used for nspawn-specific
things. When `true`, `boot.isContainer = true;` is implied.
2025-09-21 13:26:23 +02:00
..
2025-06-02 16:07:07 +02:00
2025-06-02 16:07:07 +02:00
2025-07-24 13:55:40 +02:00
2025-09-05 18:32:31 +02:00