Moved user modules

This commit is contained in:
Jan-Bulthuis committed 2025-01-24 00:50:13 +01:00
1 parent 9352fa2649
commit 0932432e11
80 files changed
+64 -6

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.zathura;
colors = config.theming.colors;
in
{
options.modules.zathura.enable = lib.mkEnableOption "zathura";
config = lib.mkIf cfg.enable {
programs.zathura = {
enable = true;
options = {
guioptions = "none";
recolor = true;
recolor-keephue = false;
recolor-darkcolor = lib.mkForce "#${colors.accent}";
recolor-lightcolor = lib.mkForce "#${colors.bg}";
};
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"application/pdf" = "zathura";
};
};
};
}