1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

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";
}];
};
}