nichts/modules/gui/zathura.nix

29 lines
604 B
Nix
Raw Normal View History

2024-05-22 14:29:45 +02:00
{
config,
lib,
pkgs,
...
}:
with lib; let
2024-07-20 13:18:01 +02:00
cfg = config.modules.system.programs.zathura;
2024-07-15 09:27:55 +02:00
inherit (config.modules.other.system) username;
2024-04-10 19:21:46 +02:00
in {
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.zathura = {
enable = true;
2024-07-15 09:27:55 +02:00
options = {
selection-clipboard = "clipboard";
adjust-open = "best-fit";
pages-per-row = "1";
scroll-page-aware = "true";
scroll-full-overlap = "0.01";
scroll-step = "100";
zoom-min = "10";
guioptions = "none";
};
};
2024-04-10 19:21:46 +02:00
};
};
2024-04-10 19:21:46 +02:00
}