profile/latex: init from legacy

This commit is contained in:
Felix Buehler 2023-02-13 21:24:21 +01:00
parent 5bd3f8de0a
commit 1fe6a7bcc0
4 changed files with 21 additions and 10 deletions

View file

@ -3,6 +3,7 @@
{
imports = [
./android
./latex
./printing
];
}

View file

@ -0,0 +1,19 @@
{ 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
];
};
}