Merge pull request #86097 from zowoq/docker
nixos/podman: add assertion for dockerCompat
This commit is contained in:
commit
1a70e4ffa6
|
@ -105,6 +105,11 @@ in
|
||||||
# Enable common /etc/containers configuration
|
# Enable common /etc/containers configuration
|
||||||
virtualisation.containers.enable = true;
|
virtualisation.containers.enable = true;
|
||||||
|
|
||||||
|
assertions = [{
|
||||||
|
assertion = cfg.dockerCompat -> !config.virtualisation.docker.enable;
|
||||||
|
message = "Option dockerCompat conflicts with docker";
|
||||||
|
}];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue