From 3b13d9a2a367db84d48940460532c17a374bb488 Mon Sep 17 00:00:00 2001 From: schererleander Date: Thu, 5 Feb 2026 12:03:07 +0100 Subject: feat(modules): use dendritic pattern --- modules/home/productivity/anki/default.nix | 24 ---------------- modules/home/productivity/latex/default.nix | 43 ----------------------------- 2 files changed, 67 deletions(-) delete mode 100644 modules/home/productivity/anki/default.nix delete mode 100644 modules/home/productivity/latex/default.nix (limited to 'modules/home/productivity') diff --git a/modules/home/productivity/anki/default.nix b/modules/home/productivity/anki/default.nix deleted file mode 100644 index 6a95f83..0000000 --- a/modules/home/productivity/anki/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - config, - lib, - ... -}: -let - cfg = config.nx.productivity.anki; - inherit (lib) mkEnableOption mkIf; -in -{ - options.nx.productivity.anki = { - enable = mkEnableOption "Anki free and open-source flashcard program"; - }; - config = mkIf cfg.enable { - programs.anki = { - enable = true; - #style = "native"; - #addons = with pkgs.ankiAddons; [ - # anki-connect - # review-heatmap - #]; - }; - }; -} diff --git a/modules/home/productivity/latex/default.nix b/modules/home/productivity/latex/default.nix deleted file mode 100644 index 6f37138..0000000 --- a/modules/home/productivity/latex/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ - config, - options, - pkgs, - lib, - ... -}: -let - cfg = config.nx.productivity.latex; - inherit (lib) mkEnableOption mkIf; -in -{ - options.nx.productivity.latex = { - enable = mkEnableOption "LaTeX typesetting system"; - }; - - config = mkIf cfg.enable { - programs.texlive = { - enable = true; - # See https://mynixos.com/search?q=texlivepackages.collection for more collections - # and https://mynixos.com/search?q=texlivepackages for more individual packages. - extraPackages = tpkgs: { - inherit (tpkgs) - collection-basic - collection-latex - collection-latexrecommended - biblatex - ; - }; - }; - - home.packages = with pkgs; [ - biber - ]; - - programs.pandoc = { - enable = true; - defaults = { - pdf-engine = "pdfetex"; - }; - }; - }; -} -- cgit v1.3.1