Hello,
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 .
<reboot>
$ readlink `which docker`
/nix/store/ydcmhzfx5ign20h5f59bz0sj6nmhyqwf-nvidia-podman/bin/docker
which… is unexpected
Is this only me? I wonder how can this be even reproduced given that I used this same configuration since a while now.
Thanks