nixos.containers.enableAutostartService
Whether to enable autostarting of imperative containers.
Type: boolean
Default:
true
Example:
true
nixos.containers.instances
Container configurations. See container options for a full list of options.
Type: attribute set of (attribute set)
Default:
{ }
Example:
mycontainer = {
config = {
services.openssh.enable = true;
};
};
nixos.containers.zones
Extra configuration for networking zones for nspawn containers.
See systemd.network.networks for a full list of options.
If a container is defined using a zone not declared in this option, the defaults defined by systemd are used. This results in a network with DHCP, link local addresses and LLDP enabled which is reachable from the host network.
Type: attribute set of (attribute set)
Default:
{ }