about summary refs log tree commit diff
path: root/home/profiles/research/default.nix
blob: 1a8452980a35e7d4730a12104ec8811e84d1d679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{ config, lib, pkgs, ... }:
let cfg = config.profiles.research;
in
{
  imports = [ ../../modules/programs/nixpkgs ];

  options.profiles.research = {
    enable = lib.mkEnableOption
      "A profile that enables the system to be used for researching various topics.";
  };

  config = lib.mkIf cfg.enable {
    programs.zathura = {
      enable = true;
      options = {
        adjust-open = "width";
        recolor = true;

        default-bg = "#292929";
        default-fg = "#c4c4c4";

        statusbar-bg = "#292929";
        statusbar-fg = "#c4c4c4";

        inputbar-bg = "#292929";
        inputbar-fg = "#c4c4c4";

        index-bg = "#292929";
        index-fg = "#c4c4c4";
        index-active-bg = "#292929";
        index-active-fg = "#c2d6f0";

        highlight-color = "#fac661";
        highlight-active-color = "#c2d6f0";

        notification-bg = "#383838";
        notification-fg = "#c2d6f0";
        notification-warning-bg = "#383838";
        notification-warning-fg = "#fac661";
        notification-error-bg = "#383838";
        notification-error-fg = "#ff668c";

        render-loading = true;
        render-loading-fg = "#c4c4c4";
        render-loading-bg = "#292929";

        recolor-lightcolor = "#c4c4c4";
        recolor-darkcolor = "#292929";
      };
    };

    home.packages = [ pkgs.texlive.combined.scheme-small pkgs.pandoc ];
  };
}