virtualisation.docker.enableOnBoot
NixOS option
When enabled dockerd is started on boot. This is required for containers which are created with the --restart=always flag to work. If this option is disabled, docker might be started on demand by socket activation.
type: booleanDefault
declared in: nixos/modules/virtualisation/docker.nixView source on NixOS/nixpkgs →true