about summary refs log tree commit diff
path: root/home/profiles/research/default.nix
blob: 07f9bcc1d3f21e838983874f34bfc4a5a7f46039 (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
55
56
{ 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 = "#282a36";
        default-fg = "#cbc0ab";

        statusbar-bg = "#282a36";
        statusbar-fg = "#cbc0ab";

        inputbar-bg = "#282a36";
        inputbar-fg = "#cbc0ab";

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

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

        notification-bg = "#282a36";
        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 = "#282a36";
        render-loading-bg = "#cbc0ab";

        recolor-lightcolor = "#282a36";
        recolor-darkcolor = "#cbc0ab";
      };
    };

    home.packages = with pkgs; [ obsidian ];
    nixpkgs.allowedUnfree = [ "obsidian" ];
  };
}