mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-19 02:50:12 +01:00
21 lines
342 B
Nix
21 lines
342 B
Nix
|
{
|
||
|
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
|
||
|
];
|
||
|
};
|
||
|
}
|