-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfiguration.dsc.yaml
More file actions
224 lines (224 loc) · 6.65 KB
/
configuration.dsc.yaml
File metadata and controls
224 lines (224 loc) · 6.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
#
# To run: winget configure ./configuration.dsc.yaml --accept-configuration-agreements
#
# NOTE: `allowPrerelease: true` is required as DSC is still in preview.
properties:
configurationVersion: 0.2.0
assertions:
- resource: Microsoft.Windows.Developer/OsVersion
directives:
description: Verify minimum OS version requirement
allowPrerelease: true
settings:
MinVersion: '10.0.22000'
resources:
- resource: Microsoft.Windows.Developer/DeveloperMode
directives:
description: Enable Developer Mode
allowPrerelease: true
settings:
Ensure: Present
- resource: Microsoft.Windows.Developer/EnableLongPathSupport
directives:
description: Enable long path support
allowPrerelease: true
settings:
Ensure: Present
# NOTE: Install these packages manually
# TODO: Install scoop
# TODO: Install posh-git Module
# TODO: Install: Install-Module -Name PSFzf
# TODO: Install wpm
# TODO: Install pyenv-win
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install PowerShell 7
settings:
id: Microsoft.PowerShell
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install NVM for Windows
settings:
id: CoreyButler.NVMforWindows
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install Neovim
settings:
id: Neovim.Neovim
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install Glow (Markdown renderer)
settings:
id: charmbracelet.glow
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install PowerToys x64
allowPrerelease: true
settings:
id: Microsoft.PowerToys
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install vswhere
allowPrerelease: true
settings:
id: Microsoft.VisualStudio.Locator
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install Oh My Posh
allowPrerelease: true
settings:
id: JanDeDobbeleer.OhMyPosh
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install Git
allowPrerelease: true
settings:
id: Git.Git
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install GitHub CLI
allowPrerelease: true
settings:
id: GitHub.cli
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install GitHub Copilot CLI
allowPrerelease: true
settings:
id: GitHub.Copilot
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install jq
allowPrerelease: true
settings:
id: jqlang.jq
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install Microsoft Visual Studio Code (User)
allowPrerelease: true
settings:
id: Microsoft.VisualStudioCode
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install delta
allowPrerelease: true
settings:
id: dandavison.delta
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install less
allowPrerelease: true
settings:
id: jftuga.less
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install lazygit
allowPrerelease: true
settings:
id: JesseDuffield.lazygit
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install zoxide
allowPrerelease: true
settings:
id: ajeetdsouza.zoxide
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install fzf
allowPrerelease: true
settings:
id: junegunn.fzf
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install eza
allowPrerelease: true
settings:
id: eza-community.eza
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install fd
allowPrerelease: true
settings:
id: sharkdp.fd
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install bat
allowPrerelease: true
settings:
id: sharkdp.bat
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install yt-dlp
allowPrerelease: true
settings:
id: yt-dlp.yt-dlp
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install DevToys
allowPrerelease: true
settings:
id: '9PGCV4V3BK4W'
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-komorebi
directives:
description: Install komorebi
allowPrerelease: true
settings:
id: LGUG2Z.komorebi
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install Windows Hotkey Daemon (whkd)
allowPrerelease: true
settings:
id: LGUG2Z.whkd
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-uv
directives:
description: Install uv (Python package manager)
allowPrerelease: true
settings:
id: astral-sh.uv
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-rustup
directives:
description: Install Rust (via rustup)
allowPrerelease: true
settings:
id: Rustlang.Rustup
source: winget
- resource: PSDscResources/Registry
directives:
description: Enable UTF-8 for worldwide language support (Beta)
allowPrerelease: true
settings:
Key: HKLM:\SYSTEM\CurrentControlSet\Control\Nls\CodePage
ValueName: ACP
ValueData: ['65001']
ValueType: String
Ensure: Present