Skip to content

Commit 8a730e6

Browse files
committed
WSL2配置windows代理
1 parent 33d9321 commit 8a730e6

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

dendron.code-workspace

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"editor.suggest.snippetsPreventQuickSuggestions": false,
2020
"editor.suggest.showSnippets": true,
2121
"editor.tabCompletion": "on",
22-
"dendron.enableSelfContainedVaultWorkspace": true
22+
"dendron.enableSelfContainedVaultWorkspace": true,
23+
"editor.formatOnSave": true
2324
},
2425
"extensions": {
2526
"recommendations": [

notes/临时笔记.计算机.WSL2.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
id: ckrarkf1os93o956hszr51g
3+
title: WSL2
4+
desc: ''
5+
updated: 1724769408780
6+
created: 1724769064924
7+
---
8+
### 2024-08-27 22:31:08
9+
10+
#### 代理配置
11+
12+
windows路径: ~/.wslconfig
13+
14+
```ini
15+
[wsl2]
16+
memory=8GB
17+
processors=8
18+
[experimental]
19+
autoMemoryReclaim=gradual
20+
networkingMode=mirrored
21+
dnsTunneling=true
22+
firewall=true
23+
autoProxy=true
24+
sparseVhd=true
25+
```

0 commit comments

Comments
 (0)