diff --git a/modules/system/podman/default.nix b/modules/system/podman/default.nix index 765ed3d..52630c7 100644 --- a/modules/system/podman/default.nix +++ b/modules/system/podman/default.nix @@ -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;