Allow creating rclone mounts manually
This commit is contained in:
parent
2596010ac9
commit
8653798a3d
1 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue