78 lines
1.6 KiB
JSON
78 lines
1.6 KiB
JSON
{
|
|
"meta": {
|
|
"name": "clan-core"
|
|
},
|
|
"machines": {
|
|
"minimal-inventory-machine": {
|
|
"name": "foo",
|
|
"system": "x86_64-linux",
|
|
"description": "A nice thing",
|
|
"icon": "./path/to/icon.png",
|
|
"tags": ["1", "2", "3"]
|
|
}
|
|
},
|
|
"services": {
|
|
"packages": {
|
|
"editors": {
|
|
"meta": {
|
|
"name": "Some editor packages"
|
|
},
|
|
"roles": {
|
|
"default": {
|
|
"machines": ["minimal-inventory-machine"]
|
|
}
|
|
},
|
|
"machines": {
|
|
"minimal-inventory-machine": {
|
|
"config": {
|
|
"packages": ["zed-editor"]
|
|
}
|
|
}
|
|
},
|
|
"config": {
|
|
"packages": ["vim"]
|
|
}
|
|
},
|
|
"browsing": {
|
|
"meta": {
|
|
"name": "Web browsing packages"
|
|
},
|
|
"roles": {
|
|
"default": {
|
|
"machines": ["minimal-inventory-machine"]
|
|
}
|
|
},
|
|
"machines": {
|
|
"minimal-inventory-machine": {
|
|
"config": {
|
|
"packages": ["chromium"]
|
|
}
|
|
}
|
|
},
|
|
"config": {
|
|
"packages": ["firefox"]
|
|
}
|
|
}
|
|
},
|
|
"single-disk": {
|
|
"default": {
|
|
"meta": {
|
|
"name": "single-disk"
|
|
},
|
|
"roles": {
|
|
"default": {
|
|
"machines": ["minimal-inventory-machine"]
|
|
}
|
|
},
|
|
"machines": {
|
|
"minimal-inventory-machine": {
|
|
"config": {
|
|
"device": "/dev/null"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|