2023-08-22 19:39:11 +03:00
|
|
|
{ config, pkgs, lib, ... }:
|
2023-07-28 17:41:32 +03:00
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
let cfg = config.my.roles.latex;
|
2023-08-22 19:39:11 +03:00
|
|
|
in {
|
|
|
|
options.my.roles.latex.enable = lib.mkEnableOption "Enable latex stuff";
|
2023-09-06 16:10:11 +03:00
|
|
|
config = lib.mkIf (cfg.enable) {
|
|
|
|
environment.systemPackages = with pkgs;
|
|
|
|
[
|
|
|
|
# Maybe I don't need to use -full variant of texlive
|
|
|
|
# TODO: I should find distribution I actually need
|
|
|
|
texlive.combined.scheme-full
|
|
|
|
];
|
2023-08-22 19:39:11 +03:00
|
|
|
};
|
2023-09-06 16:10:11 +03:00
|
|
|
}
|