Allow setting up custom syncs
This commit is contained in:
parent
d5a2a06fde
commit
e27dadb8e4
|
@ -12,6 +12,7 @@ let
|
|||
syncProviders = {
|
||||
nextcloud = mkProvider {};
|
||||
proton = mkProvider {};
|
||||
manual = mkProvider {};
|
||||
};
|
||||
|
||||
syncType = lib.types.submodule (
|
||||
|
@ -20,6 +21,7 @@ let
|
|||
type = lib.mkOption {
|
||||
description = "The type of the sync";
|
||||
type = lib.types.enum (builtins.attrNames syncProviders);
|
||||
default = "manual";
|
||||
};
|
||||
|
||||
autoStart = lib.mkOption {
|
||||
|
|
Loading…
Reference in a new issue