18 lines
312 B
Nix
18 lines
312 B
Nix
{ 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;
|
|
};
|
|
};
|
|
}
|