aboutsummaryrefslogtreecommitdiff
path: root/modules/koreader.nix
blob: b4b6551738c117c9982d0f9730fa04c6f295b766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, pkgs, lib, ... }:
with builtins // lib;
let
  cfg = config.koreader;
in {
  options.koreader = {
    enable = mkEnableOption "koreader";

    generate = mkOption {
      type = types.lines;
      default = "";
      description = "Script used to generate the KOReader config";
    };

    path = mkOption {
      type = types.str;
      default = ".adds/koreader";
      description = "Releative path to KOReader within src";
    };
  };
}