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 ./kde.nix
./gaming.nix ./gaming.nix
./printing.nix ./printing.nix
./latex.nix
] ]
++ lib.optionals isHomeManager [ ++ lib.optionals isHomeManager [
./gnome-home.nix ./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; enableGnome = true;
enableGaming = true; enableGaming = true;
enablePrinting = true; enablePrinting = true;
}; enableLaTeX = true;
buildtools = {
dotnet = true;
js = true;
rust = true;
native = true;
}; };
allowUnfreePackages = [ allowUnfreePackages = [
@ -32,7 +27,7 @@
virtualisation = { virtualisation = {
containers.enable = true; containers.enable = true;
podman = { podman = {
enable = true; enable = true;
dockerCompat = true; dockerCompat = true;
dockerSocket.enable = true; dockerSocket.enable = true;
autoPrune.enable = true; autoPrune.enable = true;