-
Notifications
You must be signed in to change notification settings - Fork 2
/
configuration.dsc.yaml
137 lines (137 loc) · 4.13 KB
/
configuration.dsc.yaml
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
# 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/EnableDarkMode
directives:
description: Enable dark mode
allowPrerelease: true
settings:
Ensure: Absent
# Use caution when setting `RestartExplorer: true` as this will force explorer to close.
RestartExplorer: true # Required to apply changes
# NOTE: Install packages
# TODO: Install posh-git Module
# TODO: Install: Install-Module -Name PSFzf
# TODO: Install thefuck
- resource: Microsoft.WinGet.DSC/WinGetPackage
directives:
description: Install PowerShell 7
settings:
id: Microsoft.PowerShell
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 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 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 DevToys
allowPrerelease: true
settings:
id: '9PGCV4V3BK4W'
source: winget