16 lines
316 B
Nix
16 lines
316 B
Nix
{ pkgs, config, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.eboskma.programs.zathura;
|
|
in
|
|
{
|
|
options.eboskma.programs.zathura = { enable = mkEnableOption "activate zathura"; };
|
|
|
|
config = mkIf (cfg.enable) {
|
|
programs.zathura = {
|
|
enable = true;
|
|
|
|
extraConfig = (builtins.readFile ./theme);
|
|
};
|
|
};
|
|
}
|