19 lines
320 B
Nix
19 lines
320 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;
|
|
};
|
|
};
|
|
}
|