unify home-manager configurations of workmac and main laptop
- manually inspected changes of "workmac" branch - modularised out some config parts into modules
This commit is contained in:
parent
2bdff39416
commit
f14b290937
12 changed files with 875 additions and 472 deletions
47
home/modules/latex.nix
Normal file
47
home/modules/latex.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
config,
|
||||
system,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with pkgs;
|
||||
let
|
||||
latexGuiTools = [
|
||||
texmaker
|
||||
kile
|
||||
biber
|
||||
];
|
||||
in
|
||||
{
|
||||
options.schmittlauch.latex.guiTools = lib.mkEnableOption "Install GUI LaTeX tools like editors";
|
||||
|
||||
config.home.packages = [
|
||||
(texlive.combine {
|
||||
inherit (texlive)
|
||||
scheme-medium
|
||||
|
||||
xetex
|
||||
luatex
|
||||
unicode-math
|
||||
fontspec
|
||||
collection-binextra
|
||||
collection-fontsrecommended
|
||||
collection-latex
|
||||
collection-latexextra
|
||||
collection-latexrecommended
|
||||
collection-langgerman
|
||||
moderncv
|
||||
fontawesome5
|
||||
academicons
|
||||
acronym
|
||||
ccicons
|
||||
fontawesome
|
||||
biblatex
|
||||
logreq
|
||||
koma-script
|
||||
;
|
||||
})
|
||||
] ++ lib.optionals config.schmittlauch.latex.guiTools latexGuiTools;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue