ship koreader ebook reader (and persist relevant data)

This commit is contained in:
Colin 2023-06-16 01:07:32 +00:00
parent feb299eb22
commit 9f55a8288d
3 changed files with 13 additions and 0 deletions

View File

@ -183,6 +183,7 @@ let
gthumb
jellyfin-media-player
komikku
koreader
# lollypop
# mpv
# networkmanagerapplet

View File

@ -12,6 +12,7 @@
./jellyfin-media-player.nix
./kitty
./komikku.nix
./koreader.nix
./libreoffice.nix
./mpv.nix
./neovim.nix

View File

@ -0,0 +1,11 @@
{ ... }:
{
sane.programs.koreader = {
# koreader on aarch64 errors if there's no fonts directory (sandboxing thing, i guess)
fs.".local/share/fonts".dir = {};
# history, cache, dictionaries...
# could be more explicit if i symlinked the history.lua file to somewhere it can persist better.
persist.plaintext = [ ".config/koreader" ];
};
}