17 lines
278 B
Nix
17 lines
278 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
|
|
cfg = config.marleyos.programs.zathura;
|
|
in {
|
|
options.marleyos.programs.zathura.enable = mkEnableOption "zathura";
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.zathura = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|