Merge pull request #86097 from zowoq/docker

nixos/podman: add assertion for dockerCompat
This commit is contained in:
adisbladis 2020-04-30 19:26:05 +02:00 committed by GitHub
commit 1a70e4ffa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,6 +105,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";
}];
};
}