Allow creating rclone mounts manually

This commit is contained in:
Manuel Thalmann 2024-05-16 00:51:36 +02:00
parent 2596010ac9
commit 8653798a3d

View file

@ -2,6 +2,7 @@
let let
cfg = config.programs.rclone; cfg = config.programs.rclone;
targetName = "rclone"; targetName = "rclone";
manualVendor = "manual";
owncloudVendor = "owncloud"; owncloudVendor = "owncloud";
owncloudName = "Owncloud"; owncloudName = "Owncloud";
nextcloudVendor = "nextcloud"; nextcloudVendor = "nextcloud";
@ -172,6 +173,11 @@ let
}); });
syncProviders = { syncProviders = {
${manualVendor} = {
displayName = "Custom";
module = mkProvider;
};
${nextcloudVendor} = rec { ${nextcloudVendor} = rec {
displayName = "Nextcloud"; displayName = "Nextcloud";