boot.isNspawnContainer
Whether the machine is running in an nspawn container. This option is added because boot.isContainer is heavily used for non-nspawn environments as well, hence nspawn-specific settings are guarded by this option.
- Type
boolean- Default
false- Declared
- <nixpkgs/nixos/modules/virtualisation/nixos-containers.nix>