Skip to content

Commit ee28dce

Browse files
committed
✨ feat: added .wslconfig
1 parent 795af87 commit ee28dce

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Setup.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ $SymLinks = @{
7373
"$Env:USERPROFILE\.gitconfig" = ".\home\.gitconfig"
7474
"$Env:USERPROFILE\.czrc" = ".\home\.czrc"
7575
"$Env:USERPROFILE\.bashrc" = ".\home\.bashrc"
76+
"$Env:USERPROFILE\.wslconfig" = ".\home\.wslconfig"
7677
}
7778

7879

home/.wslconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[wsl2]
2+
3+
memory=4GB
4+
processors=4
5+
swap=8GB
6+
swapfile=G:\\wsl\\swap\\swap.vhdx
7+
networkingMode=mirrored
8+
9+
[experimental]
10+
autoMemoryReclaim=dropcache
11+
bestEffortDnsParsing=true
12+
dnsTunnelingIpAddress=10.2.0.1 # Proton VPN
13+
hostAddressLoopback=true

0 commit comments

Comments
 (0)