From bcecce6e77fe6bb9083a6fd3a8a5ce7c3a7307b3 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 15 Jun 2026 11:00:21 +0200 Subject: [PATCH] feat(zathura): add 'zathura' module --- home/hosts/work/default.nix | 1 + home/modules/zathura/default.nix | 15 +++++++++++++++ {dots/.config => home/modules}/zathura/zathurarc | 0 3 files changed, 16 insertions(+) create mode 100644 home/modules/zathura/default.nix rename {dots/.config => home/modules}/zathura/zathurarc (100%) diff --git a/home/hosts/work/default.nix b/home/hosts/work/default.nix index 239148e..48e8b39 100644 --- a/home/hosts/work/default.nix +++ b/home/hosts/work/default.nix @@ -85,6 +85,7 @@ secrets.vault.enable = true; ticketing.enable = true; vscode.enable = true; + zathura.enable = true; services.home-manager.autoUpgrade = { enable = true; diff --git a/home/modules/zathura/default.nix b/home/modules/zathura/default.nix new file mode 100644 index 0000000..ec82ae5 --- /dev/null +++ b/home/modules/zathura/default.nix @@ -0,0 +1,15 @@ +{ config, lib, ... }: + +let + cfg = config.zathura; +in +{ + options.zathura.enable = lib.mkEnableOption "zathura"; + + config = lib.mkIf cfg.enable { + programs.zathura = { + enable = true; + extraConfig = builtins.readFile ./zathurarc; + }; + }; +} diff --git a/dots/.config/zathura/zathurarc b/home/modules/zathura/zathurarc similarity index 100% rename from dots/.config/zathura/zathurarc rename to home/modules/zathura/zathurarc