do not install build tools on lpt2, latex

This commit is contained in:
Vinzenz Schroeter 2024-07-21 14:07:59 +02:00
parent ce7ca5450f
commit 1f7bf4ca7a
3 changed files with 23 additions and 7 deletions

View file

@ -13,6 +13,7 @@ in {
./kde.nix
./gaming.nix
./printing.nix
./latex.nix
]
++ lib.optionals isHomeManager [
./gnome-home.nix

20
modules/desktop/latex.nix Normal file
View file

@ -0,0 +1,20 @@
{
config,
pkgs,
lib,
...
}: let
isEnabled = config.my.desktop.enableLaTeX;
in {
options.my.desktop.enableLaTeX = lib.mkEnableOption "LaTeX tools and IDE";
config = lib.mkIf isEnabled {
my.desktop.enable = true;
environment.systemPackages = with pkgs; [
fontconfig
texliveFull
texstudio
];
};
}

View file

@ -14,12 +14,7 @@
enableGnome = true;
enableGaming = true;
enablePrinting = true;
};
buildtools = {
dotnet = true;
js = true;
rust = true;
native = true;
enableLaTeX = true;
};
allowUnfreePackages = [