Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/schema.json
blob: 9269e8e86e80f587fe18219c4244eb96ab4042e2 (plain)
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
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "Archinstall Config",
    "description": "A schema for the archinstall command config, more info over at https://archinstall.readthedocs.io/installing/guided.html#options-for-config",
    "type": "object",
    "properties": {
        "additional-repositories": {
            "description": "Additional repositories to optionally enable",
            "type": "string",
            "enum": [
                "multilib",
                "testing"
            ]
        },
        "audio": {
            "description": "Audio server to be installed",
            "type": "string",
            "enum": [
                "pipewire",
                "pulseaudio",
                "none"
            ]
        },
        "bootloader": {
            "description": "Bootloader  to be installed",
            "type": "string",
            "enum": [
                "systemd-bootctl",
                "grub-install",
                "efistub"
            ]
        },
        "custom-commands": {
            "description": "Custom commands to be run post install",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "gfx_driver": {
            "description": "Graphics Drivers to install if a desktop profile is used, ignored otherwise.",
            "type": "string",
            "enum": [
                "VMware / VirtualBox (open-source)",
                "Nvidia",
                "Intel (open-source)",
                "AMD / ATI (open-source)",
                "All open-source (default)"
            ]
        },
        "harddrives": {
            "description": "Path of device to be used",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "hostname": {
            "description": "Hostname of machine after installation",
            "type": "string"
        },
        "kernels": {
            "description": "List of kernels to install eg: linux, linux-lts, linux-zen etc",
            "type": "array",
            "items": {
                "type": "string",
                "enum": [
                    "linux",
                    "linux-lts",
                    "linux-zen",
                    "linux-hardened"
                ]
            }
        },
        "keyboard-language": {
            "description": "eg: us, de, de-latin1 etc",
            "type": "string"
        },
        "mirror-region": {
            "description": "By default, it will autodetect the best region. Enter a region or a dictionary of regions and mirrors to use specific ones",
            "type": "object"
        },
        "nic": {
            "description": "Choose between NetworkManager, manual configuration, use systemd-networkd from the ISO or no configuration",
            "type": "object",
            "properties": {
                "type": "string",
                "iface": "string",
                "dhcp": "boolean",
                "ip": "string",
                "gateway": "string",
                "dns": {
                    "description": "List of DNS servers",
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        "ntp": {
            "description": "Set to true to set-up ntp post install",
            "type": "boolean"
        },
        "packages": {
            "description": "List of packages to install post-installation",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "profile": {
            "description": "Profiles are present in profiles/, use the name of a profile to install it",
            "type": "string",
            "enum": [
                "awesome",
                "bspwm",
                "budgie",
                "cinnamon",
                "cutefish",
                "deepin",
                "desktop",
                "enlightenment",
                "gnome",
                "i3",
                "kde",
                "lxqt",
                "mate",
                "minimal",
                "server",
                "sway",
                "xfce4",
                "xorg",
                "qtile"
            ]
        },
        "services": {
            "description": "Services to enable post-installation",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "sys-encoding": {
            "description": "Set to change system encoding post-install, ignored if --advanced flag is not passed",
            "type": "string"
        },
        "sys-language": {
            "description": "Set to change system language post-install, ignored if --advanced flag is not passed",
            "type": "string"
        },
        "timezone": {
            "description": "Timezone eg: UTC, Asia/Kolkata etc.",
            "type": "string"
        }
    },
    "required": [
        "bootloader",
        "kernels",
        "mirror-region"
    ],
    "anyOf": [
        {
            "required": [
                "!root-password"
            ]
        },
        {
            "required": [
                "!users": {
                    "description": "User account",
                    "type": "object",
                    "properties": {
                        "username": "string",
                        "!password": "string",
                        "sudo": "boolean"
                    }
                }
            ]
        }
    ]
}