mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 10:30:14 +01:00
do not install build tools on lpt2, latex
This commit is contained in:
parent
ce7ca5450f
commit
1f7bf4ca7a
|
@ -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
20
modules/desktop/latex.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -14,12 +14,7 @@
|
|||
enableGnome = true;
|
||||
enableGaming = true;
|
||||
enablePrinting = true;
|
||||
};
|
||||
buildtools = {
|
||||
dotnet = true;
|
||||
js = true;
|
||||
rust = true;
|
||||
native = true;
|
||||
enableLaTeX = true;
|
||||
};
|
||||
|
||||
allowUnfreePackages = [
|
||||
|
|
Loading…
Reference in a new issue