2024-02-05 11:46:52 +01:00
|
|
|
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
2022-03-01 22:19:03 +01:00
|
|
|
cfg = config.eboskma.programs.zathura;
|
2022-04-27 00:21:19 +02:00
|
|
|
in
|
|
|
|
{
|
2024-02-05 11:46:52 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|