forked from slyfox1186/wsl2-kernel-build-script
-
Notifications
You must be signed in to change notification settings - Fork 26
/
.wslconfig
19 lines (19 loc) · 883 Bytes
/
.wslconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[wsl2]
# Set the path to the custom kernel
kernel=C:\\Users\\jholl\\WSL2\\vmlinux
# Limits VM memory to use no more than 4 GB, this can be set as whole numbers using GB or MB
memory=32GB
# Sets the VM virtual processors count
processors=32
# Sets amount of swap storage space to 16GB, default is 25% of available RAM
swap=16GB
# Sets swapfile path location, default is %LocalAppData%\\temp\\swap.vhdx
swapFile=C:\\Users\\jholl\\AppData\\Local\\Temp\\swap.vhdx
# Boolean to turn on or off support for GUI applications (WSLg) in WSL. Only available for Windows 11
guiApplications=true
# Turns on or off output console showing contents of dmesg when opening a WSL 2 distro for debugging
debugConsole=false
# Enables nested virtualization
nestedVirtualization=true
# The number of milliseconds that a VM is idle, before it is shut down. Only available for Windows 11
vmIdleTimeout=60000