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

        statusbar-bg = "#151515";
        statusbar-fg = "#cbc0ab";

        inputbar-bg = "#151515";
        inputbar-fg = "#cbc0ab";

        index-bg = "#151515";
        index-fg = "#cbc0ab";
        index-active-bg = "#4f5058";
        index-active-fg = "#cbc0ab";

        highlight-color = "#d4ae80";
        highlight-active-color = "#84a0c6";

        notification-bg = "#151515";
        notification-fg = "#cbc0ab";
        notification-warning-bg = "#d4ae80";
        notification-warning-fg = "#4f5058";
        notification-error-bg = "#b17f81";
        notification-error-fg = "#4f5058";

        render-loading = true;
        render-loading-fg = "#151515";
        render-loading-bg = "#cbc0ab";

        recolor-lightcolor = "#151515";
        recolor-darkcolor = "#cbc0ab";
      };
    };

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