virt: use docker alias so completion works
This commit is contained in:
parent
e7ce2fb21b
commit
89d7829169
1 changed files with 2 additions and 6 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue