nixos-config/home-manager/modules/zathura/default.nix

20 lines
315 B
Nix
Raw Normal View History

{ pkgs
, config
, lib
, ...
2022-03-01 22:19:03 +01:00
}:
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
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-03-01 22:19:03 +01:00
extraConfig = builtins.readFile ./theme;
2022-02-21 21:19:18 +01:00
};
};
}