diff options
Diffstat (limited to 'modules/kfmon.nix')
| -rw-r--r-- | modules/kfmon.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/kfmon.nix b/modules/kfmon.nix new file mode 100644 index 0000000..f47433e --- /dev/null +++ b/modules/kfmon.nix @@ -0,0 +1,21 @@ +{ config, pkgs, lib, ... }: +with builtins // lib; +let + cfg = config.kfmon; +in { + options.kfmon = { + enable = mkEnableOption "koreader"; + + generate = mkOption { + type = types.lines; + default = ""; + description = "Script used to generate the KFMon config"; + }; + + path = mkOption { + type = types.str; + default = ".adds/koreader"; + description = "Releative path to KFMon within src"; + }; + }; +} |
