Add Owncloud
as a provider
This commit is contained in:
parent
faf4a0a290
commit
f61258a6ae
|
@ -129,7 +129,9 @@ let
|
|||
};
|
||||
}));
|
||||
|
||||
mkOwncloudProvider = { displayName ? "Owncloud", vendor ? "owncloud" }: (
|
||||
owncloudName = "Owncloud";
|
||||
|
||||
mkOwncloudProvider = { displayName ? owncloudName, vendor ? "owncloud" }: (
|
||||
{ config, ... }: {
|
||||
imports = [
|
||||
(mkWebdavProvider { inherit displayName vendor; })
|
||||
|
@ -156,6 +158,11 @@ let
|
|||
vendor = "nextcloud";
|
||||
};
|
||||
};
|
||||
|
||||
owncloud = {
|
||||
displayName = owncloudName;
|
||||
module = mkOwncloudProvider { };
|
||||
};
|
||||
};
|
||||
in {
|
||||
options = {
|
||||
|
|
Loading…
Reference in a new issue