nix-tools/data/schemas/servicescfg.schema.yaml

21 lines
657 B
YAML
Raw Normal View History

2016-09-17 19:27:21 +02:00
---
type: map
mapping:
"services":
type: map
mapping:
2016-09-18 02:28:15 +02:00
"enabled":
2016-09-17 19:27:21 +02:00
type: seq
sequence:
- type: map
mapping:
2016-09-17 21:20:57 +02:00
"name": { type: str }
"runlevel": { type: str, enum: [default, sysinit, boot, shutdown, nonetwork] }
2016-09-18 02:28:15 +02:00
"disabled":
2016-09-17 19:27:21 +02:00
type: seq
sequence:
- type: map
mapping:
2016-09-17 21:20:57 +02:00
"name": { type: str }
"runlevel": { type: str, enum: [default, sysinit, boot, shutdown, nonetwork] }