mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40: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
|
./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
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;
|
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;
|
||||||
|
|
Loading…
Reference in a new issue