Skip to content

Commit fc613c8

Browse files
SuperSandro2000astro
authored andcommitted
Make sure tuntap kernel module is loaded
1 parent 8d33c91 commit fc613c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nixos-modules/host/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ in
2222
}
2323
]) (builtins.attrNames config.microvm.vms);
2424

25+
boot.kernelModules = [ "tun" ];
26+
2527
system.activationScripts.microvm-host = ''
2628
mkdir -p ${stateDir}
2729
chown ${user}:${group} ${stateDir}

0 commit comments

Comments
 (0)