Files
HyprArch/airootfs/usr/lib/calamares/modules/services-systemd/services-systemd.schema.yaml

22 lines
719 B
YAML

# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
# SPDX-License-Identifier: GPL-3.0-or-later
---
$schema: https://json-schema.org/schema#
$id: https://calamares.io/schemas/services-systemd
definitions:
unit:
$id: 'definitions/unit'
type: object
description: a map containing a unit name, an action, and whether it is mandatory
additionalProperties: false
properties:
name: { type: string }
action: { type: string, default: "enable" }
mandatory: { type: boolean, default: false }
required: [ name ]
additionalProperties: false
type: object
properties:
units: { type: array, items: { $ref: 'definitions/unit' } }