diff --git a/homes/x86_64-linux/marley@nyx/default.nix b/homes/x86_64-linux/marley@nyx/default.nix index 106507c..efe4292 100644 --- a/homes/x86_64-linux/marley@nyx/default.nix +++ b/homes/x86_64-linux/marley@nyx/default.nix @@ -47,6 +47,7 @@ in tmux = enabled; wezterm = enabled; wget = enabled; + zathura = enabled; }; xorg = { xsession = enabled; diff --git a/modules/home/programs/zathura/default.nix b/modules/home/programs/zathura/default.nix new file mode 100644 index 0000000..bca3724 --- /dev/null +++ b/modules/home/programs/zathura/default.nix @@ -0,0 +1,24 @@ +{ + lib, + config, + namespace, + ... +}: +let + inherit (lib) mkIf enabled; + inherit (lib.${namespace}) mkEnableModule; + + cfg = config.${namespace}.programs.zathura; + inherit (config.${namespace}) theme; +in +{ + options = mkEnableModule "programs.zathura"; + + config = mkIf cfg.enable { + programs.zathura = { + enable = true; + + "${theme.colors.base}" = enabled; + }; + }; +} diff --git a/old/home/programs/zathura.nix b/old/home/programs/zathura.nix deleted file mode 100644 index eac2dfe..0000000 --- a/old/home/programs/zathura.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ ... }: -{ - programs.zathura = { - enable = true; - - rose-pine.enable = true; - }; -}