about summary refs log tree commit diff
path: root/home/profiles/research/default.nix
blob: 3678fde291f95b2a2b40e43313f9bc6d8d610463 (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 = "#232323";
        default-fg = "#c4c4c4";

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

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

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

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

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

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

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

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