Add Owncloud as a provider

This commit is contained in:
Manuel Thalmann 2024-05-16 00:34:29 +02:00
parent faf4a0a290
commit f61258a6ae

View file

@ -129,7 +129,9 @@ let
}; };
})); }));
mkOwncloudProvider = { displayName ? "Owncloud", vendor ? "owncloud" }: ( owncloudName = "Owncloud";
mkOwncloudProvider = { displayName ? owncloudName, vendor ? "owncloud" }: (
{ config, ... }: { { config, ... }: {
imports = [ imports = [
(mkWebdavProvider { inherit displayName vendor; }) (mkWebdavProvider { inherit displayName vendor; })
@ -156,6 +158,11 @@ let
vendor = "nextcloud"; vendor = "nextcloud";
}; };
}; };
owncloud = {
displayName = owncloudName;
module = mkOwncloudProvider { };
};
}; };
in { in {
options = { options = {