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