1

Modules/LaTeX: Rename to docs

This commit is contained in:
2025-07-05 18:11:38 +02:00
parent a51e86b122
commit ab49478b38
3 changed files with 11 additions and 11 deletions

View File

@ -5,11 +5,11 @@
pkgs, pkgs,
... ...
}: let }: let
inherit (config.modules) latex; inherit (config.modules) docs;
in { in {
options.modules.latex = import ./options.nix {inherit lib mylib;}; options.modules.latex = import ./options.nix {inherit lib mylib;};
config = lib.mkIf latex.enable { config = lib.mkIf docs.enable {
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
texliveFull texliveFull

View File

@ -0,0 +1,9 @@
{
lib,
mylib,
...
}:
with lib;
with mylib.modules; {
enable = mkEnableOption "Enable Document Support (e.g. LaTeX)";
}

View File

@ -1,9 +0,0 @@
{
lib,
mylib,
...
}:
with lib;
with mylib.modules; {
enable = mkEnableOption "Enable LaTeX";
}