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
1 changed files with 2 additions and 6 deletions

View File

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