install.fairie/system/etc/wsl.conf.tmpl

8 lines
183 B
Cheetah
Raw Permalink Normal View History

2024-05-17 21:46:41 -07:00
{{- if (stat "/proc/sys/fs/binfmt_misc/WSLInterop") -}}
2024-01-05 20:28:02 -08:00
[wsl2]
nestedVirtualization=true
[boot]
2024-05-17 21:46:41 -07:00
command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'
{{- end -}}