diff options
| author | Chris Wells <chris@mathematicaster.org> | 2026-10-28 11:49:51 -0400 |
|---|---|---|
| committer | Chris Wells <chris@mathematicaster.org> | 2026-10-28 11:49:51 -0400 |
| commit | b87ced9a95fd0de4e3631e67cc5a7a929adee464 (patch) | |
| tree | 3f02b2679ba3397fbbc5b172cfa613b2f6c93134 /instances/pocketbook.nix | |
| parent | f9bdbf51aa61503d77e387095e7a4e1f34acdde3 (diff) | |
| download | ko-manager-b87ced9a95fd0de4e3631e67cc5a7a929adee464.tar ko-manager-b87ced9a95fd0de4e3631e67cc5a7a929adee464.tar.gz ko-manager-b87ced9a95fd0de4e3631e67cc5a7a929adee464.tar.bz2 ko-manager-b87ced9a95fd0de4e3631e67cc5a7a929adee464.tar.lz ko-manager-b87ced9a95fd0de4e3631e67cc5a7a929adee464.tar.xz ko-manager-b87ced9a95fd0de4e3631e67cc5a7a929adee464.tar.zst ko-manager-b87ced9a95fd0de4e3631e67cc5a7a929adee464.zip | |
Working concept with an instance for my pocketbook
Diffstat (limited to 'instances/pocketbook.nix')
| -rw-r--r-- | instances/pocketbook.nix | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/instances/pocketbook.nix b/instances/pocketbook.nix index 905cf79..9d4af86 100644 --- a/instances/pocketbook.nix +++ b/instances/pocketbook.nix @@ -5,10 +5,46 @@ ... }: with builtins // lib; +let + pocketbooksync = pkgs.fetchzip { + url = "https://github.com/ckilb/pocketbooksync.koplugin/releases/download/v1.0.2/pocketbooksync.koplugin-v1.0.2.zip"; + }; + wifi = pkgs.fetchFromGitHub { + owner = "Lomig"; + repo = "koreader-pocketbook-wifi"; + rev = "1278fe9"; + }; + +in { koreader.flavor = "pocketbook"; plugins = { - pocketbooksync = "${pkgs.koreader-plugins.pocketbooksync}/pocketbooksync.koplugin"; + pocketbooksync = "${pocketbooksync}/pocketbooksync.koplugin"; + }; + + # patches = { + # "2-bookorbit-wifi-cycle.lua" = "${wifi}/patches/2-bookorbit-wifi-cycle.lua"; + # "2-menu-footer-wifi-icon.lua" = "${wifi}/patches/2-menu-footer-wifi-icon.lua"; + # "2-pocketbook-net-diag.lua" = "${wifi}/patches/2-pocketbook-net-diag.lua"; + # "2-pocketbook-wifi-off.lua" = "${wifi}/pathces/2-pocketbook-wifi-off.lua"; + # "2-pocketbook-wifi-silent-connect.lua" = "${wifi}/patches/2-pocketbook-wifi-silent-connect.lua"; + # }; + patchDirectories = [ + "${wifi}/patches" + ]; + + dictionaries = { + Wiktionary = pkgs.fetchtar { + url = "https://github.com/xxyzz/wiktionary_stardict/releases/download/20261020/en-en.tar.zst"; + }; + GNU = pkgs.fetchzip { + url = "http://tovotu.de/data/stardict/gcide.zip"; + }; + }; + + fonts = { + Alegreya = "${pkgs.alegreya}/share/fonts/truetype"; + ComputerModern = "${pkgs.cm_unicode}/share/fonts/opentype"; }; } |
