Skip to content

Commit b977dc7

Browse files
committed
added kvm support
1 parent 95545c0 commit b977dc7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

hosts/common/kvm.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
boot.kernelModules = [
3+
"kvm"
4+
"kvm-intel"
5+
"tun"
6+
"vhost_net"
7+
"vhost"
8+
];
9+
}

hosts/vesuvius/configuration.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
imports = [
44
./hardware-configuration.nix
55
(import ../common/k3s.nix { role = "server"; clusterInit = true; })
6+
../common/kvm.nix
67
./nix.nix
78
./zfs.nix
89
./netboot.nix

0 commit comments

Comments
 (0)