forked from clan/clan-core
Drop `zed-editor` from the test inventory and exchange it with `hello`. The inventory packages are built in the tests, we don't want to build large derivations there.
116 lines
2.4 KiB
JSON
116 lines
2.4 KiB
JSON
{
|
|
"machines": {
|
|
"test-inventory-machine": {
|
|
"name": "foo",
|
|
"description": "A nice thing",
|
|
"icon": "./path/to/icon.png",
|
|
"tags": ["1", "2", "3"]
|
|
}
|
|
},
|
|
"services": {
|
|
"zerotier": {
|
|
"one": {
|
|
"roles": {
|
|
"controller": {
|
|
"machines": ["test-inventory-machine"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"borgbackup": {
|
|
"simple": {
|
|
"roles": {
|
|
"client": {
|
|
"machines": ["test-inventory-machine"]
|
|
},
|
|
"server": {
|
|
"tags": ["2"]
|
|
}
|
|
}
|
|
},
|
|
"double": {
|
|
"roles": {
|
|
"server": {
|
|
"machines": ["test-inventory-machine"]
|
|
},
|
|
"client": {
|
|
"tags": ["1"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"packages": {
|
|
"editors": {
|
|
"meta": {
|
|
"name": "Some editor packages"
|
|
},
|
|
"roles": {
|
|
"default": {
|
|
"extraModules": [],
|
|
"machines": ["test-inventory-machine"],
|
|
"tags": []
|
|
}
|
|
},
|
|
"config": {},
|
|
"extraModules": [],
|
|
"machines": {
|
|
"test-inventory-machine": {
|
|
"config": {
|
|
"packages": ["hello"]
|
|
},
|
|
"extraModules": []
|
|
}
|
|
}
|
|
},
|
|
"browsing": {
|
|
"meta": {
|
|
"name": "Web browsing packages"
|
|
},
|
|
"roles": {
|
|
"default": {
|
|
"config": {},
|
|
"extraModules": [],
|
|
"machines": ["test-inventory-machine"],
|
|
"tags": []
|
|
}
|
|
},
|
|
"config": {},
|
|
"extraModules": [],
|
|
"machines": {
|
|
"test-inventory-machine": {
|
|
"config": {
|
|
"packages": ["chromium"]
|
|
},
|
|
"extraModules": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"single-disk": {
|
|
"default": {
|
|
"meta": {
|
|
"name": "single-disk"
|
|
},
|
|
"roles": {
|
|
"default": {
|
|
"config": {},
|
|
"extraModules": [],
|
|
"machines": ["test-inventory-machine"],
|
|
"tags": []
|
|
}
|
|
},
|
|
"config": {},
|
|
"extraModules": [],
|
|
"machines": {
|
|
"test-inventory-machine": {
|
|
"config": {
|
|
"device": "/dev/null"
|
|
},
|
|
"extraModules": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|