Allow setting up custom syncs
This commit is contained in:
parent
d5a2a06fde
commit
e27dadb8e4
1 changed files with 2 additions and 0 deletions
|
@ -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