From c3052ddc4e54092bfc9220d550ab4d8fcba166de Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Wed, 11 Sep 2024 10:50:30 -0500 Subject: The modules seem fairly solid now. Now to write the cli --- kobo/clara/Kobo eReader.conf | 125 +++++++++++++++++++++++++++++++++++++++++++ kobo/clara/default.nix | 17 ++++++ 2 files changed, 142 insertions(+) create mode 100644 kobo/clara/Kobo eReader.conf (limited to 'kobo/clara') diff --git a/kobo/clara/Kobo eReader.conf b/kobo/clara/Kobo eReader.conf new file mode 100644 index 0000000..8bd7357 --- /dev/null +++ b/kobo/clara/Kobo eReader.conf @@ -0,0 +1,125 @@ +[ApplicationPreferences] +AIRPLANE_MODE=true +CurrentLocale=en +EarliestChangeLog=4.21.15023 +HomePageViewVisitCount=20 +LastAffiliateSyncTime=@Variant(\0\0\0\x10\0%\x88\x94\x2\x3wo\x2) +LastAuthorsListSorter_authorList_=sortByLastName() +LastFTEStep=BEGIN +LastLibrarySorter_author_filterByAuthor%28Dost%20K%F6rpe%29=sortByNewest() +LastLibrarySorter_author_filterByAuthor%28Gail%20Carson%20Levine%29=sortByNewest() +LastLibrarySorter_author_filterByAuthor%28Margherita%20Botto%29=sortByNewest() +LastLibrarySorter_author_filterByAuthor%28Naomi%20Novik%29=sortByNewest() +LastLibrarySorter_author_filterByAuthor%28Unknown%20Author%29=sortByNewest() +LastLibrarySorter_author_filterByAuthor%28%U5B89%U5A1C%UFF0E%U7F85%U6717%U5FB7%29=sortByNewest() +LastLibrarySorter_books_filterByAllItems%28%29=sortByNewest() +LastLibrarySubFilter_author_filterByAuthor%28Dost%20K%F6rpe%29= +LastLibrarySubFilter_author_filterByAuthor%28Gail%20Carson%20Levine%29= +LastLibrarySubFilter_author_filterByAuthor%28Margherita%20Botto%29= +LastLibrarySubFilter_author_filterByAuthor%28Naomi%20Novik%29= +LastLibrarySubFilter_author_filterByAuthor%28Unknown%20Author%29= +LastLibrarySubFilter_author_filterByAuthor%28%U5B89%U5A1C%UFF0E%U7F85%U6717%U5FB7%29= +LastLibrarySubFilter_books_filterByAllItems%28%29= +LastLibraryTab=Books +LastLibraryViewType_author=viewBy5List() +LastLibraryViewType_books=viewBy5List() +LastLibraryViewType_series=viewBy5List() +LastLibraryViewType_seriesList=viewBy5List() +LastSearchType_Home=Store +LastSearchType_Store=Store +LastSeriesListSorter_seriesList_=sortByRecent() +LastShelfListSorter_shelfList_=sortByShelfName() +LastUpdateCheckTime=@Variant(\0\0\0\x10\0%\x88\x96\x3(\a$\x2) +LibraryViewVisitCount=9 +LongPressDialogShown=true +MarkAsFinishedLastShown=@Variant(\0\0\0\x10\0%\x87\xcf\x1\x1c\x43\xf1\xff) +MarkAsUnreadLastShown=@Variant(\0\0\0\x10\0%\x88\x95\x4\xbfR\x19\xff) +MostRecentReadID="file:///mnt/onboard/Harrison, Kim/Black Magic Sanction - Kim Harrison.epub" +PeriodicAutoSync=false +QuickTourWidgetShown=true +SmartLink_%05=3 +SwipeDialogShown=true +SyncReminderDialogShown=true +firstRunDate=@Variant(\0\0\0\x10\0%\x87\xce\x5%\x9a\x44\x2) +lastPlugTime=@Variant(\0\0\0\x10\0%\x8b\x8d\x3\xb1\x6V\x2) +sleepOnNextBoot=false +syncOnNextBoot=false + +[DialogSettings] +ReleaseNotesShown=true + +[FeatureSettings] +ExcludeSyncFolders=(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+) + +[OneStoreServices] +account_page=https://secure.kobobooks.com/profile +account_page_rakuten=https://my.rakuten.co.jp/ +autocomplete=https://storeapi.kobo.com/v1/products/autocomplete +book=https://storeapi.kobo.com/v1/products/books/{ProductId} +book_detail_page=https://www.kobo.com/{region}/{language}/ebook/{slug} +book_detail_page_rakuten=http://books.rakuten.co.jp/rk/{crossrevisionid} +book_landing_page=https://www.kobo.com/ebooks +categories=https://storeapi.kobo.com/v1/categories +category=https://storeapi.kobo.com/v1/categories/{CategoryId} +category_products=https://storeapi.kobo.com/v1/categories/{CategoryId}/products +dictionary_host=https://kbdownload1-a.akamaihd.net +discovery_host=https://discovery.kobobooks.com +dropbox_link_account_poll= +eula_page="https://www.kobo.com/termsofuse?style=onestore" +featured_list=https://storeapi.kobo.com/v1/products/featured/{FeaturedListId} +featured_lists=https://storeapi.kobo.com/v1/products/featured +feedback= +fte_feedback=https://storeapi.kobo.com/v1/products/ftefeedback +image_host=//kbimages1-a.akamaihd.net/ +image_url_quality_template=https://kbimages1-a.akamaihd.net/{ImageId}/{Width}/{Height}/{Quality}/{IsGreyscale}/image.jpg +image_url_template=https://kbimages1-a.akamaihd.net/{ImageId}/{Width}/{Height}/false/image.jpg +kobo_audiobooks_credit_redemption=False +kobo_audiobooks_enabled=True +kobo_dropbox_link_account_enabled=False +kobo_nativeborrow_enabled=True +kobo_privacyCentre_url=https://www.kobo.com/privacy +kobo_redeem_enabled=True +kobo_subscriptions_enabled=False +kobo_superpoints_enabled=True +kobo_wishlist_enabled=True +love_points_redemption_page="https://www.kobo.com/{region}/{language}/KoboSuperPointsRedemption?productId={ProductId}" +oauth_host=https://oauth.kobo.com +password_retrieval_page=https://www.kobo.com/passwordretrieval.html +privacy_page="https://www.kobo.com/privacypolicy?style=onestore" +product_recommendations=https://storeapi.kobo.com/v1/products/{ProductId}/recommendations +product_reviews=https://storeapi.kobo.com/v1/products/{ProductIds}/reviews +purchase_buy_templated=https://www.kobo.com/{region}/{language}/checkout/createpurchase/{ProductId} +reading_services_host=https://readingservices.kobo.com +registration_page="https://authorize.kobo.com/signup?returnUrl=http://kobo.com/" +review=https://storeapi.kobo.com/v1/products/reviews/{ReviewId} +review_sentiment=https://storeapi.kobo.com/v1/products/reviews/{ReviewId}/sentiment/{Sentiment} +sign_in_page="https://authorize.kobo.com/signin?returnUrl=http://kobo.com/" +social_host=https://social.kobobooks.com +store_home=www.kobo.com/{region}/{language} +store_host=www.kobo.com +store_search="https://www.kobo.com/{region}/{language}/Search?Query={query}" +subs_landing_page= +subs_management_page= +subs_plans_page= +subs_purchase_buy_templated= +subscription_publisher_price_page= +taste_profile=https://storeapi.kobo.com/v1/products/tasteprofile +user_ratings=https://storeapi.kobo.com/v1/user/ratings +user_recommendations=https://storeapi.kobo.com/v1/user/recommendations +user_reviews=https://storeapi.kobo.com/v1/user/reviews +userguide_host=https://kbdownload1-a.akamaihd.net + +[OverDrive] +overdrive_account=https://auth.overdrive.com/account +overdrive_library=https://{libraryKey}.auth.overdrive.com/library +overdrive_library_finder_host=https://libraryfinder.api.overdrive.com +overdrive_thunder_host=https://thunder.api.overdrive.com + +[PowerOptions] +ColorSetting=6400 +FrontLightLevel=1 + +[ReadingLife] +FacebookAuthToken= +FacebookName= +FacebookTokenExpiry=@Variant(\0\0\0\x10\0\0\0\0\xff\xff\xff\xff\xff) diff --git a/kobo/clara/default.nix b/kobo/clara/default.nix index b061c7f..0bb35d4 100644 --- a/kobo/clara/default.nix +++ b/kobo/clara/default.nix @@ -3,6 +3,9 @@ with builtins // lib; { device = { name = "Kobo Clara HD"; + serialNumber = "N249191243488"; + affiliate = "kobo"; + forceAffiliate = true; }; firmware = { @@ -34,10 +37,13 @@ with builtins // lib; sleep-cover = true; auto-suspend = 15.0; auto-power-off = 4.0; + wifi = false; + auto-share = false; time-format = "%I:%M%P"; reader = { font-size = 10.0; font-family = "Fira Math"; + font-path = "fonts"; }; dictionary = { font-size = 10.0; @@ -47,6 +53,17 @@ with builtins // lib; power-off = "${config.kobo.devicePath}/screensaver/main.png"; share = power-off; }; + libraries = [ + { + name = "On Board"; + path = "/mnt/onboard"; + mode = "database"; + sort-method = "progress"; + first-column = "title-and-author"; + second-column = "progress"; + thumbnail-previews = true; + } + ]; }; }; -- cgit v1.2.3