mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-30 17:32:09 +01:00
20 lines
344 B
Nix
20 lines
344 B
Nix
|
|
{ config, lib, pkgs, ... }:
|
||
|
|
let
|
||
|
|
cfg = config.my.profiles.latex;
|
||
|
|
in
|
||
|
|
{
|
||
|
|
options.my.profiles.latex = with lib; {
|
||
|
|
enable = mkEnableOption "latex profile";
|
||
|
|
};
|
||
|
|
|
||
|
|
config = lib.mkIf cfg.enable {
|
||
|
|
environment.systemPackages = with pkgs; [
|
||
|
|
biber
|
||
|
|
pdfpc
|
||
|
|
qtikz
|
||
|
|
texlive.combined.scheme-full
|
||
|
|
texstudio
|
||
|
|
];
|
||
|
|
};
|
||
|
|
}
|