1
0
Fork 0

add mount contract to ldap block

This commit is contained in:
ibizaman 2024-08-12 01:25:06 +02:00 committed by Pierre Penninckx
parent 56c06b4404
commit 01eb07a6d2

View file

@ -69,6 +69,24 @@ in
type = lib.types.bool; type = lib.types.bool;
default = false; default = false;
}; };
mount = lib.mkOption {
type = contracts.mount;
description = ''
Mount configuration. This is an output option.
Use it to initialize a block implementing the "mount" contract.
For example, with a zfs dataset:
```
shb.zfs.datasets."ldap" = {
poolName = "root";
} // config.shb.ldap.mount;
```
'';
readOnly = true;
default = { path = "/var/lib/lldap"; };
};
}; };