3
0
Fork 0
forked from mirrors/nixpkgs

nixos/podman: add assertion for dockerCompat

This commit is contained in:
zowoq 2020-04-27 14:08:19 +10:00
parent 92d9d07c61
commit 3c83386c6b

View file

@ -100,6 +100,11 @@ in
# Enable common /etc/containers configuration
virtualisation.containers.enable = true;
assertions = [{
assertion = cfg.dockerCompat -> !config.virtualisation.docker.enable;
message = "Option dockerCompat conflicts with docker";
}];
};
}