install.fairie/system/etc/wsl.conf.tmpl
Brian Zalewski b9ac1c9163 Latest
2024-05-18 04:46:41 +00:00

7 lines
183 B
Cheetah

{{- if (stat "/proc/sys/fs/binfmt_misc/WSLInterop") -}}
[wsl2]
nestedVirtualization=true
[boot]
command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'
{{- end -}}