Nvidia-podman and docker naming conflict

today something is off on my nixos machine: there seems to be a conflict between the docker command provided by docker and a docker command provided by nvidia-podman, even if I disabled dockerCompat. I don’t really understand what is going on, since yesterday this used to work fine - I might have made a build in between, but without updating the flake, so…

The relevant part of the configuration is the following:

virtualisation = {
    libvirtd.enable = true;
    docker = {
      enable = true;
      enableNvidia = true;
    podman = {
      enable = true;
      enableNvidia = true;
      dockerCompat = false;

after a rebuild, though:

$ ls
configuration.nix  flake.lock  flake.nix  hardware-configuration.nix  LICENSE  nvim.nix  README.md

$ sudo nixos-rebuild boot --flake .


$ readlink `which docker`

which… is unexpected :confused:

Is this only me? I wonder how can this be even reproduced given that I used this same configuration since a while now.

Ah, my fault! I had nvidia-podman in the installed packages. Fixed.

(thought it’s unclear why this used to work and it suddenly broke)