nixos/podman: add assertion for dockerCompat
This commit is contained in:
parent
92d9d07c61
commit
3c83386c6b
1 changed files with 5 additions and 0 deletions
|
@ -100,6 +100,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