refactor into modules
This commit is contained in:
12
nixos/modules/virtualization.nix
Normal file
12
nixos/modules/virtualization.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
virtualisation.virtualbox.host.enableExtensionPack = true;
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
}
|
||||
Reference in New Issue
Block a user