aboutsummaryrefslogtreecommitdiff
path: root/config/plato.nix
blob: 16531b3073fba02023061498d9caef422f041e92 (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
42
43
44
{ config, pkgs, lib, ... }:
with builtins // lib;
{
  # kfmon.enable = true;
  # koreader.enable = true;

  plato = {
    enable = true;

    fonts.packages = [
      # pkgs.atkinson-hyperlegible
      pkgs.fira-math
    ];

    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;
        font-family = "Fira Math";
        # font-family = "Atkinson Hyperlegible";
      };
      dictionary = {
        font-size = 10.0;
      };
    };
  };
}