diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 68c5213..a1bfaae 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -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 = {