init
This commit is contained in:
29
modules/core/virtualisation.nix
Normal file
29
modules/core/virtualisation.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ pkgs, ... }: {
|
||||
# Only enable either docker or podman -- Not both
|
||||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
podman.enable = false;
|
||||
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
virtualbox.host = {
|
||||
enable = false;
|
||||
enableExtensionPack = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
virt-manager.enable = false;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-viewer # View Virtual Machines
|
||||
lazydocker
|
||||
docker-client
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user