aboutsummaryrefslogtreecommitdiffstats
path: root/modules/office/zathura
diff options
context:
space:
mode:
Diffstat (limited to 'modules/office/zathura')
-rw-r--r--modules/office/zathura/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/office/zathura/default.nix b/modules/office/zathura/default.nix
index 167b04f..f17a5c3 100644
--- a/modules/office/zathura/default.nix
+++ b/modules/office/zathura/default.nix
@@ -7,8 +7,13 @@
# Zathura - Minimalistic document viewer (PDF, DJVU, etc.)
{
- config = lib.mkIf config.programs.zathura.enable {
+ options.office.zathura = {
+ enable = lib.mkEnableOption "Enables zathura.";
+ };
+
+ config = lib.mkIf config.office.zathura.enable {
programs.zathura = {
+ enable = true;
package = pkgs.zathura;
};