diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index eae87c5..e6bf373 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -13,6 +13,7 @@ in { ./kde.nix ./gaming.nix ./printing.nix + ./latex.nix ] ++ lib.optionals isHomeManager [ ./gnome-home.nix diff --git a/modules/desktop/latex.nix b/modules/desktop/latex.nix new file mode 100644 index 0000000..a0cb9a0 --- /dev/null +++ b/modules/desktop/latex.nix @@ -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 + ]; + }; +} diff --git a/vinzenz-lpt2.nix b/vinzenz-lpt2.nix index cf994f7..3dcbed0 100644 --- a/vinzenz-lpt2.nix +++ b/vinzenz-lpt2.nix @@ -14,12 +14,7 @@ enableGnome = true; enableGaming = true; enablePrinting = true; - }; - buildtools = { - dotnet = true; - js = true; - rust = true; - native = true; + enableLaTeX = true; }; allowUnfreePackages = [ @@ -32,7 +27,7 @@ virtualisation = { containers.enable = true; podman = { - enable = true; + enable = true; dockerCompat = true; dockerSocket.enable = true; autoPrune.enable = true;