summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-21 17:43:59 +0200
committerSilas Schöffel <sils@sils.li>2024-04-22 17:02:26 +0200
commit66e376595029855919a47359125fd94c4d10d311 (patch)
treee56d83d499ef2cc0c631ceccb9a70cc0a50222d2
parentpackages: pin calibre to working version (diff)
downloadnix-config-66e376595029855919a47359125fd94c4d10d311.tar.gz
nix-config-66e376595029855919a47359125fd94c4d10d311.zip
zathura: init module
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/zathura.nix14
2 files changed, 15 insertions, 0 deletions
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix
index 72767ef..c298715 100644
--- a/modules/hm/sils/default.nix
+++ b/modules/hm/sils/default.nix
@@ -3,5 +3,6 @@
     ./firefox
     ./jameica.nix
     ./mail.nix
+    ./zathura.nix
   ];
 }
diff --git a/modules/hm/sils/zathura.nix b/modules/hm/sils/zathura.nix
new file mode 100644
index 0000000..22529a3
--- /dev/null
+++ b/modules/hm/sils/zathura.nix
@@ -0,0 +1,14 @@
+{
+  config,
+  lib,
+  ...
+}: let
+  cfg = config.sils.zathura;
+in {
+  options.sils.zathura.enable = lib.mkEnableOption "zathura";
+  config = lib.mkIf cfg.enable {
+    programs.zathura = {
+      enable = true;
+    };
+  };
+}