about summary refs log tree commit diff
path: root/home/profiles/research/default.nix
blob: 97dbeef07cd4f208818d9f05cec114e4fa942aad (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{ config, lib, pkgs, self, ... }:
let
  cfg = config.profiles.research;
in
{
  imports = [ ../../../modules/nixpkgs.nix ];

  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 = "#dbd3c4";
        default-fg = "#151515";

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

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

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

        highlight-color = "#rgba(212,174,128,0.5)";
        highlight-active-color = "rgba(129,151,191,0.5)";

        notification-bg = "#dbd3c4";
        notification-fg = "#151515";
        notification-warning-bg = "#4f5058";
        notification-warning-fg = "#dcb66a";
        notification-error-bg = "#4f5058";
        notification-error-fg = "#cf6a4c";

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

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

    home.packages = [
      pkgs.libreoffice
      pkgs.ltex-ls
      pkgs.obsidian
      pkgs.pandoc
      pkgs.qgis
      pkgs.tana
      pkgs.texlive.combined.scheme-small
      pkgs.tinymist
      pkgs.typst
      pkgs.websocat

      pkgs.nanum
    ];

    # Let HM manage installed fonts
    fonts.fontconfig.enable = true;

    nixpkgs.allowedUnfree = [ "obsidian" "tana" ];
  };
}