aboutsummaryrefslogtreecommitdiff
path: root/config/default.nix
blob: 4c9688a65c3cd4bbd92b0901f65c3376ab21ee16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;
      };
    };
  };
}