blob: 2fcc54691c7dc82dc002891fa574f0938d166aa3 (
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
|
{ config, pkgs, lib, ... }:
with builtins // lib;
let
cfg = config.installer;
in {
imports = [
./kobo.nix
];
options.installer = {
package = mkOption {
type = types.package;
default = pkgs.callpackage ./installScript.nix {
koboInput = null;
koboLabel = cfg.koboLabel;
koboManifest = config.manifest;
};
};
koboLabel = mkOption {
type = types.str;
default = "KOBOeReader";
description = "The label of the Kobo eReader mount target";
};
};
}
|