Modules/LaTeX: Rename to docs
This commit is contained in:
@ -5,11 +5,11 @@
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (config.modules) latex;
|
||||
inherit (config.modules) docs;
|
||||
in {
|
||||
options.modules.latex = import ./options.nix {inherit lib mylib;};
|
||||
|
||||
config = lib.mkIf latex.enable {
|
||||
config = lib.mkIf docs.enable {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
texliveFull
|
9
home/modules/docs/options.nix
Normal file
9
home/modules/docs/options.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
mylib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with mylib.modules; {
|
||||
enable = mkEnableOption "Enable Document Support (e.g. LaTeX)";
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
mylib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with mylib.modules; {
|
||||
enable = mkEnableOption "Enable LaTeX";
|
||||
}
|
Reference in New Issue
Block a user