forked from Vanilla-OS/first-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipe.example.json
618 lines (618 loc) · 23.5 KB
/
recipe.example.json
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
{
"log_file": "/etc/vanilla/first-setup.log",
"distro_name": "Vanilla OS",
"distro_logo": "org.vanillaos.FirstSetup-flower",
"pre_run": [],
"post_run": [
"sh -c /usr/bin/__first_setup_reset_session",
"abroot pkg apply",
"!nextBoot sh -c /usr/bin/__first_setup_cleanup"
],
"tour": {
"get-involved": {
"icon": "system-users-symbolic",
"title": "Get Involved",
"description": "Vanilla OS is a community project. You can contribute to the project by reporting bugs, suggesting new features, or even by writing code.",
"read_more_link": "https://vanillaos.org/get-involved"
},
"community": {
"icon": "help-faq-symbolic",
"title": "Join The Community",
"description": "Our community is active on Discord. You can join us to ask questions, get help, or just to chat with other users.",
"read_more_link": "https://discord.gg/3cD2Q7Ht3S"
},
"abroot": {
"icon": "security-medium-symbolic",
"title": "Immutable and Atomic",
"description": "Vanilla OS is an immutable and atomic Linux distribution. It is based on Debian and uses ABRoot to provide atomic transactions.",
"read_more_link": "https://documentation.vanillaos.org/docs/ABRoot/"
},
"apx": {
"icon": "vanilla-container-terminal-symbolic",
"title": "Sub-System Ready To Go",
"description": "Vanilla OS comes with Apx, a new package manager which installs software in integrated containers to prevent host compromise.",
"read_more_link": "https://documentation.vanillaos.org/docs/apx/"
}
},
"steps": {
"network": {
"template": "network",
"protected": true
},
"conn-check": {
"template": "conn-check",
"protected": true
},
"welcome": {
"template": "welcome",
"protected": true
},
"theme": {
"template": "theme"
},
"user": {
"template": "user",
"new-user-only": true
},
"hostname": {
"template": "hostname",
"new-user-only": true
},
"packages": {
"template": "preferences",
"is-advanced": true,
"icon": "vanilla-package-symbolic",
"title": "Package Manager",
"description": "Choose one or more package managers to install",
"preferences": [
{
"id": "flatpak",
"title": "Flatpak",
"subtitle": "Manage and configure Flatpaks and the Flathub repository.",
"default": true
},
{
"id": "appimage",
"title": "AppImage",
"subtitle": "Install necessary dependencies to run AppImages.",
"default": true
},
{
"id": "-",
"title": "-",
"subtitle": "-",
"disabled": true,
"default": true
}
],
"final": [
{
"if": "flatpak",
"type": "command",
"commands": [
"abroot pkg add flatpak gnome-software-plugin-flatpak",
"!nextBoot !noRoot flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo"
]
},
{
"if": "appimage",
"type": "command",
"commands": [
"abroot pkg add fuse3 libfuse3-3"
]
}
]
},
"apps": {
"template": "applications",
"icon": "org.gnome.Software-symbolic",
"title": "Applications",
"description": "Choose which applications to install.",
"bundles": [
{
"id": "core-apps",
"title": "Core Applications",
"subtitle": "Essential GNOME apps like Calendar or Document Viewer.",
"default": true,
"applications": [
{
"name": "Calculator",
"icon": "org.gnome.Calculator",
"flatpak": true
},
{
"name": "Calendar",
"icon": "org.gnome.Calendar",
"flatpak": true
},
{
"name": "Characters",
"icon": "org.gnome.Characters",
"flatpak": true
},
{
"name": "Clocks",
"icon": "org.gnome.clocks",
"flatpak": true
},
{
"name": "Connections",
"icon": "org.gnome.Connections",
"flatpak": true
},
{
"name": "Contacts",
"icon": "org.gnome.Contacts",
"flatpak": true
},
{
"name": "Disk Usage Analyzer",
"icon": "org.gnome.baobab",
"flatpak": true
},
{
"name": "Document Scanner",
"icon": "org.gnome.SimpleScan",
"flatpak": true
},
{
"name": "Document Viewer",
"icon": "org.gnome.Evince",
"flatpak": true
},
{
"name": "File Roller",
"icon": "org.gnome.FileRoller",
"flatpak": true
},
{
"name": "Fonts",
"icon": "org.gnome.font-viewer",
"flatpak": true
},
{
"name": "Image Viewer",
"icon": "org.gnome.Loupe",
"flatpak": true
},
{
"name": "Logs",
"icon": "org.gnome.Logs",
"flatpak": true
},
{
"name": "Maps",
"icon": "org.gnome.Maps",
"flatpak": true
},
{
"name": "Music",
"icon": "org.gnome.Music",
"flatpak": true
},
{
"name": "Photos",
"icon": "org.gnome.Photos",
"flatpak": true
},
{
"name": "Snapshot",
"icon": "org.gnome.Snapshot",
"flatpak": true
},
{
"name": "Text Editor",
"icon": "org.gnome.TextEditor",
"flatpak": true
},
{
"name": "Videos",
"icon": "org.gnome.Totem",
"flatpak": true
},
{
"name": "Weather",
"icon": "org.gnome.Weather",
"flatpak": true
},
{
"name": "Web",
"icon": "org.gnome.Epiphany",
"flatpak": true
}
]
},
{
"id": "office",
"title": "Office",
"subtitle": "The LibreOffice suite.",
"default": false,
"applications": [
{
"name": "LibreOffice",
"icon": "org.libreoffice.LibreOffice",
"flatpak": true
}
]
},
{
"id": "utilities",
"title": "Common Utilities",
"subtitle": "Useful utilities like Bottles or Sound Recorder.",
"default": false,
"applications": [
{
"name": "Bottles",
"icon": "com.usebottles.bottles",
"flatpak": true
},
{
"name": "Extension Manager",
"icon": "com.mattjakeman.ExtensionManager",
"flatpak": true
},
{
"name": "Heroic Games Launcher",
"icon": "com.heroicgameslauncher.hgl",
"flatpak": true
},
{
"name": "Lutris",
"icon": "net.lutris.Lutris",
"flatpak": true
},
{
"name": "Boxes",
"icon": "org.gnome.Boxes",
"flatpak": true
},
{
"name": "Déjà Dup Backups",
"icon": "org.gnome.DejaDup",
"flatpak": true
},
{
"name": "Flatseal",
"icon": "com.github.tchx84.Flatseal",
"flatpak": true
},
{
"name": "Metadata Cleaner",
"icon": "fr.romainvigier.MetadataCleaner",
"flatpak": true
},
{
"name": "Rnote",
"icon": "com.github.flxzt.rnote",
"flatpak": true
},
{
"name": "Shortwave",
"icon": "de.haeckerfelix.Shortwave",
"flatpak": true
},
{
"name": "Sound Recorder",
"icon": "org.gnome.SoundRecorder",
"flatpak": true
}
]
}
],
"final": [
{
"if": "Calculator",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Calculator"
]
},
{
"if": "Calendar",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Calendar"
]
},
{
"if": "Characters",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Characters"
]
},
{
"if": "Clocks",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.clocks"
]
},
{
"if": "Connections",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Connections"
]
},
{
"if": "Contacts",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Contacts"
]
},
{
"if": "Disk Usage Analyzer",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.baobab"
]
},
{
"if": "Document Scanner",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.SimpleScan"
]
},
{
"if": "Document Viewer",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Evince"
]
},
{
"if": "Extension Manager",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y com.mattjakeman.ExtensionManager"
]
},
{
"if": "File Roller",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.FileRoller"
]
},
{
"if": "Fonts",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.font-viewer"
]
},
{
"if": "Image Viewer",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Loupe"
]
},
{
"if": "Logs",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Logs"
]
},
{
"if": "Maps",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Maps"
]
},
{
"if": "Music",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Music"
]
},
{
"if": "Photos",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Photos"
]
},
{
"if": "Snapshot",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Snapshot"
]
},
{
"if": "Text Editor",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.TextEditor"
]
},
{
"if": "Weather",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Weather"
]
},
{
"if": "Videos",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Totem"
]
},
{
"if": "Web",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Epiphany"
]
},
{
"if": "LibreOffice",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.libreoffice.LibreOffice"
]
},
{
"if": "Bottles",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y com.usebottles.bottles"
]
},
{
"if": "Heroic Games Launcher",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y com.heroicgameslauncher.hgl"
]
},
{
"if": "Lutris",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y net.lutris.Lutris"
]
},
{
"if": "Boxes",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.Boxes"
]
},
{
"if": "Déjà Dup Backups",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.DejaDup"
]
},
{
"if": "Flatseal",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y com.github.tchx84.Flatseal"
]
},
{
"if": "Metadata Cleaner",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y fr.romainvigier.MetadataCleaner"
]
},
{
"if": "Rnote",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y com.github.flxzt.rnote"
]
},
{
"if": "Shortwave",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y de.haeckerfelix.Shortwave"
]
},
{
"if": "Sound Recorder",
"type": "command",
"commands": [
"!nextBoot !noRoot flatpak install -y org.gnome.SoundRecorder"
]
}
]
},
"timeshift": {
"template": "yes-no",
"is-advanced": true,
"preset": false,
"icon": "vanilla-history-undo-symbolic",
"title": "Timeshift",
"description": "Choose whether to install Timeshift to create snapshots of your system.",
"buttons": {
"yes": "Install",
"no": "Skip",
"info": {
"type": "text",
"title": "Timeshift",
"text": "Timeshift for Linux is an application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. Timeshift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored at a later date to undo all changes to the system.\n\nIn RSYNC mode, snapshots are taken using rsync and hard-links. Common files are shared between snapshots which saves disk space. Each snapshot is a full system backup that can be browsed with a file manager.\n\nIn BTRFS mode, snapshots are taken using the in-built features of the BTRFS filesystem. BTRFS snapshots are supported only on BTRFS systems having an Ubuntu-type subvolume layout (with @ and @home subvolumes)."
}
},
"final": [
{
"if": "timeshift",
"type": "command",
"commands": [
"abroot pkg add timeshift"
]
}
]
},
"vm": {
"template": "yes-no",
"is-advanced": true,
"preset": true,
"display-conditions": [
"grep 'hypervisor' /proc/cpuinfo"
],
"icon": "application-x-appliance-symbolic",
"title": "Open VM Tools",
"description": "Choose whether to install Open VM Tools for the virtual machine.",
"buttons": {
"yes": "Install",
"no": "Skip",
"info": {
"type": "text",
"title": "About Open VM Tools",
"text": "Install Open VM Tools for seamless integration with Virtual machines."
}
},
"final": [
{
"if": "vm",
"type": "command",
"commands": [
"abroot pkg add open-vm-tools open-vm-tools-desktop"
]
}
]
},
"codecs": {
"template": "yes-no",
"is-advanced": true,
"preset": true,
"icon": "vanilla-puzzle-piece-symbolic",
"title": "Proprietary Codecs",
"description": "Choose whether to install proprietary codecs and fonts.",
"buttons": {
"yes": "Install",
"no": "Skip",
"info": {
"type": "text",
"title": "About Proprietary Codecs",
"text": "Install proprietary drivers, fonts and other essentials from the Debian repositories."
}
},
"final": [
{
"if": "codecs",
"type": "command",
"commands": [
"abroot pkg add libavcodec-extra gstreamer1.0-libav gstreamer1.0-plugins-ugly gstreamer1.0-vaapi libavcodec-extra unrar"
]
}
]
}
}
}