{ 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 = "#d4ae80"; highlight-active-color = "#8197bf"; 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.kicad pkgs.ltex-ls pkgs.libreoffice pkgs.obsidian pkgs.pandoc pkgs.texlive.combined.scheme-small pkgs.typst-preview pkgs.websocat pkgs.nanum ]; # Let HM manage installed fonts fonts.fontconfig.enable = true; nixpkgs.allowedUnfree = [ "obsidian" ]; # TODO: https://github.com/NixOS/nixpkgs/issues/273611 nixpkgs.config.permittedInsecurePackages = [ "electron-25.9.0" ]; }; }