···991010 options = {
1111 virtualisation.lxc = {
1212- privilegedContainer = lib.mkOption {
1313- type = lib.types.bool;
1414- default = false;
1515- description = lib.mdDoc ''
1616- Whether this LXC container will be running as a privileged container or not. If set to `true` then
1717- additional configuration will be applied to the `systemd` instance running within the container as
1818- recommended by [distrobuilder](https://linuxcontainers.org/distrobuilder/introduction/).
1919- '';
2020- };
1212+ nestedContainer = lib.mkEnableOption (lib.mdDoc ''
1313+ Whether this container is configured as a nested container. On LXD containers this is recommended
1414+ for all containers and is enabled with `security.nesting = true`.
1515+ '');
1616+1717+ privilegedContainer = lib.mkEnableOption (lib.mdDoc ''
1818+ Whether this LXC container will be running as a privileged container or not. If set to `true` then
1919+ additional configuration will be applied to the `systemd` instance running within the container as
2020+ recommended by [distrobuilder](https://linuxcontainers.org/distrobuilder/introduction/).
2121+ '');
2122 };
2223 };
2324