2022-11-19 20:00:54 +01:00
|
|
|
{ config
|
2022-04-27 00:21:19 +02:00
|
|
|
, lib
|
|
|
|
, ...
|
2022-03-01 22:19:03 +01:00
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.eboskma.programs.zathura;
|
2022-04-27 00:21:19 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
options.eboskma.programs.zathura = { enable = mkEnableOption "activate zathura"; };
|
2022-02-21 21:19:18 +01:00
|
|
|
|
2022-05-03 18:17:38 +02:00
|
|
|
config = mkIf cfg.enable {
|
2022-02-21 21:19:18 +01:00
|
|
|
programs.zathura = {
|
|
|
|
enable = true;
|
2022-02-21 21:20:04 +01:00
|
|
|
|
2022-03-01 22:19:03 +01:00
|
|
|
extraConfig = builtins.readFile ./theme;
|
2022-02-21 21:19:18 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|