diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-21 17:43:59 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-22 17:02:26 +0200 |
commit | 66e376595029855919a47359125fd94c4d10d311 (patch) | |
tree | e56d83d499ef2cc0c631ceccb9a70cc0a50222d2 | |
parent | packages: pin calibre to working version (diff) | |
download | nix-config-66e376595029855919a47359125fd94c4d10d311.tar.gz nix-config-66e376595029855919a47359125fd94c4d10d311.zip |
zathura: init module
-rw-r--r-- | modules/hm/sils/default.nix | 1 | ||||
-rw-r--r-- | modules/hm/sils/zathura.nix | 14 |
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; + }; + }; +} |