nix-config

My personal nixos and home-manager configuration
Log | Files | Refs | README

latex.nix (253B)


      1 { config, pkgs, lib, ... }:
      2 
      3 with lib;
      4 
      5 {
      6   options.latex = {
      7     enable = mkEnableOption "Latex";
      8   };
      9 
     10   config = mkIf config.latex.enable {
     11     home.packages = with pkgs; [
     12       pgfplots
     13       texlab
     14       texlive.combined.scheme-full
     15     ];
     16   };
     17 }