2022-02-21 21:19:18 +01:00
|
|
|
{
|
2022-03-01 22:19:03 +01:00
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.eboskma.programs.zathura;
|
|
|
|
in {
|
|
|
|
options.eboskma.programs.zathura = {enable = mkEnableOption "activate zathura";};
|
2022-02-21 21:19:18 +01:00
|
|
|
|
|
|
|
config = mkIf (cfg.enable) {
|
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|