virt: use docker alias so completion works

This commit is contained in:
Timothy DeHerrera 2020-12-25 15:57:47 -07:00
parent e7ce2fb21b
commit 89d7829169
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

View file

@ -9,18 +9,14 @@
]; ];
}; };
podman = { podman.enable = true;
enable = true;
dockerCompat = true;
};
oci-containers.backend = "podman"; oci-containers.backend = "podman";
}; };
# you'll need to add your user to 'libvirtd' group to use virt-manager # you'll need to add your user to 'libvirtd' group to use virt-manager
environment.systemPackages = with pkgs; [ virt-manager vagrant ]; environment.systemPackages = with pkgs; [ virt-manager vagrant ];
environment.shellAliases.docker = "podman";
environment.sessionVariables = { environment.sessionVariables = {
VAGRANT_DEFAULT_PROVIDER = "libvirt"; VAGRANT_DEFAULT_PROVIDER = "libvirt";