diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 1fe9a1e..239c949 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -14,10 +14,12 @@ let mkSystemdDependencyOption = { default, ... }: lib.mkOption { - type = lib.types.attrsOf lib.types.str; + type = lib.types.attrsOf (lib.types.listOf lib.types.str); description = "The systemd services this sync depends on."; example = { - secrets = "sops-nix.service"; + secrets = [ + "sops-nix.service" + ]; }; inherit default; };