modules: system: podman: check for docker conflict
This commit is contained in:
parent
73fdd4622b
commit
df9b060947
|
@ -9,6 +9,16 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = cfg.enable -> !config.my.system.docker.enable;
|
||||
message = ''
|
||||
`config.my.system.podman` is incompatible with
|
||||
`config.my.system.docker`.
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue