From 4a1741d747b7a86f2868272b44e2003156559466 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 28 Jul 2021 10:27:04 +1000 Subject: [PATCH] ebooks: added ebooks --- profiles/desktopCraige.nix | 4 ++++ profiles/ebooks.nix | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 profiles/ebooks.nix diff --git a/profiles/desktopCraige.nix b/profiles/desktopCraige.nix index 528b632..8f85d70 100644 --- a/profiles/desktopCraige.nix +++ b/profiles/desktopCraige.nix @@ -4,6 +4,10 @@ { # Craige's Desktop Packages + imports = [ + ../profiles/ebooks.nix + ]; + environment.systemPackages = with pkgs; [ gopass # password file manager ]; diff --git a/profiles/ebooks.nix b/profiles/ebooks.nix new file mode 100644 index 0000000..8795181 --- /dev/null +++ b/profiles/ebooks.nix @@ -0,0 +1,17 @@ +# ebook reading requirements + +{ config, pkgs, ... }: + +{ + + environment.variables = { + FOLIATE_TTS_LANG="en-gb"; + }; + + environment.systemPackages = with pkgs; [ + python39Packages.gtts # Speech synthesizer, required for text to speech. + foliate # A simple and modern GTK eBook reader + vlc + ]; + +}