forked from DGNum/liminix
new type for interface (presently just alias to service)
This commit is contained in:
parent
2ad203ce1f
commit
81b56fb6a3
1 changed files with 2 additions and 1 deletions
|
@ -28,12 +28,13 @@ in {
|
|||
lib = {
|
||||
types =
|
||||
let inherit (lib) types isDerivation;
|
||||
in {
|
||||
in rec {
|
||||
service = types.package // {
|
||||
name = "service";
|
||||
description = "s6-rc service";
|
||||
check = x: isDerivation x && x ? serviceType;
|
||||
};
|
||||
interface = service;
|
||||
serviceDefn = types.attrs // {
|
||||
name = "service-defn";
|
||||
description = "parametrisable s6-rc service definition";
|
||||
|
|
Loading…
Reference in a new issue