From d6949fe35c1b4c7a9e93d1430e5c1b1d5dd4d9c6 Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Wed, 24 Jan 2024 14:56:56 -0600 Subject: Getting a whole kobo distribution together! --- config/default.nix | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 config/default.nix (limited to 'config') diff --git a/config/default.nix b/config/default.nix new file mode 100644 index 0000000..4c9688a --- /dev/null +++ b/config/default.nix @@ -0,0 +1,41 @@ +{ config, pkgs, lib, ... }: +with builtins // lib; +{ + kfmon.enable = true; + koreader.enable = true; + + plato = { + enable = true; + + fonts.packages = [ + pkgs.hack-font + ]; + + dictionaries.packages = with pkgs.dictdDBs; [ + wordnet + wiktionary + ]; + + settings = { + keyboard-layout = "English"; + frontlight = true; + wifi = false; + sleep-cover = true; + auto-share = true; + auto-suspend = 15.0; + auto-power-off = 4.0; + time-format = "%I:%M%P"; + intermissions = { + suspend = "cover:"; + power-off = "cover:"; + share = "logo:"; + }; + reader = { + font-size = 10.0; + }; + dictionary = { + font-size = 10.0; + }; + }; + }; +} -- cgit v1.2.3