feat(home): Zathura

This commit is contained in:
punkfairie 2024-11-16 21:15:01 -08:00
parent 23828a12bb
commit 545de6261f
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
3 changed files with 25 additions and 8 deletions

View file

@ -47,6 +47,7 @@ in
tmux = enabled; tmux = enabled;
wezterm = enabled; wezterm = enabled;
wget = enabled; wget = enabled;
zathura = enabled;
}; };
xorg = { xorg = {
xsession = enabled; xsession = enabled;

View file

@ -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;
};
};
}

View file

@ -1,8 +0,0 @@
{ ... }:
{
programs.zathura = {
enable = true;
rose-pine.enable = true;
};
}