mirror of
https://github.com/ivabus/nixos
synced 2024-11-10 02:25:18 +03:00
14 lines
380 B
Nix
14 lines
380 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
cfg = config.my.roles.latex;
|
|
in {
|
|
options.my.roles.latex.enable = lib.mkEnableOption "Enable latex stuff";
|
|
config = lib.mkIf (cfg.enable){
|
|
environment.systemPackages = with pkgs;
|
|
# Maybe I don't need to use -full variant of texlive
|
|
# I should find distribution I actually need
|
|
texlive.combined.scheme-full
|
|
];
|
|
};
|
|
} |