aboutsummaryrefslogtreecommitdiff
path: root/kobo/clara
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2024-09-10 11:52:55 -0500
committerChris Wells <chris@mathematicaster.org>2024-09-10 11:53:30 -0500
commit5cb16c34a8c5b803ec723934c1dc828c0e8e3bad (patch)
tree082671e90b6da26a0c06c1a5abc7a4571e0dcc84 /kobo/clara
parent8eae39e8e670f228e9675fb3bc432ce512560396 (diff)
downloadkobo-manager-5cb16c34a8c5b803ec723934c1dc828c0e8e3bad.tar
kobo-manager-5cb16c34a8c5b803ec723934c1dc828c0e8e3bad.tar.gz
kobo-manager-5cb16c34a8c5b803ec723934c1dc828c0e8e3bad.tar.bz2
kobo-manager-5cb16c34a8c5b803ec723934c1dc828c0e8e3bad.tar.lz
kobo-manager-5cb16c34a8c5b803ec723934c1dc828c0e8e3bad.tar.xz
kobo-manager-5cb16c34a8c5b803ec723934c1dc828c0e8e3bad.tar.zst
kobo-manager-5cb16c34a8c5b803ec723934c1dc828c0e8e3bad.zip
Trying to get everything to actually work
Diffstat (limited to 'kobo/clara')
-rw-r--r--kobo/clara/default.nix69
-rw-r--r--kobo/clara/screensaver.pngbin0 -> 2718976 bytes
2 files changed, 69 insertions, 0 deletions
diff --git a/kobo/clara/default.nix b/kobo/clara/default.nix
new file mode 100644
index 0000000..f2d026b
--- /dev/null
+++ b/kobo/clara/default.nix
@@ -0,0 +1,69 @@
+{ config, pkgs, lib, ... }:
+with builtins // lib;
+{
+ device = {
+ name = "Kobo Clara HD";
+ };
+
+ firmware = {
+ version = "4.38.23038";
+ date = "Jun2024";
+ };
+
+ kobo = {
+ enable = true;
+ file = {
+ "screensaver/main.png".source = ./screensaver.png;
+ };
+ };
+
+ plato = {
+ enable = true;
+ fonts = with pkgs; [
+ fira-math
+ ];
+ dictionaries = with pkgs.dictdDBs; [
+ wordnet
+ wiktionary
+ ];
+
+ settings = {
+ keyobard-layout = "English";
+ frontlight = true;
+ sleep-cover = true;
+ auto-suspend = 15.0;
+ auto-power-off = 4.0;
+ time-format = "%I:%M%P";
+ reader = {
+ font-size = 10.0;
+ font-family = "Fira Math";
+ };
+ dictionary = {
+ font-size = 10.0;
+ };
+ intermissions = rec {
+ suspend = "cover:";
+ power-off = "${config.kobo.devicePath}/screensaver/main.png";
+ share = power-off;
+ };
+ };
+ };
+
+ nickel = {
+ enable = true;
+
+ menu.item = {
+ settings = [
+ {
+ location = "main";
+ label = "IP Address";
+ action = "cmd_output";
+ arg = [
+ "500"
+ "/sbin/ifconfig | /usr/bin/awk '/inet addr/{print substr($2,6)}'"
+ ];
+ }
+ ];
+ };
+ };
+}
diff --git a/kobo/clara/screensaver.png b/kobo/clara/screensaver.png
new file mode 100644
index 0000000..c26ab78
--- /dev/null
+++ b/kobo/clara/screensaver.png
Binary files differ