This can be used to start containers declaratively. Use docker when it is enabled for this.
14 lines
140 B
Nix
14 lines
140 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
|
|
virtualisation = {
|
|
docker = {
|
|
enable = true;
|
|
};
|
|
oci-containers.backend = "docker";
|
|
};
|
|
|
|
}
|