Add texlive (medium)

This commit is contained in:
Simon Bruder 2020-08-26 01:08:08 +02:00
parent 76895c4378
commit f98781d03d
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 19 additions and 0 deletions

View file

@ -5,6 +5,7 @@
[ [
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
../../modules/restic.nix ../../modules/restic.nix
../../modules/texlive.nix
../../profiles/base.nix ../../profiles/base.nix
../../profiles/dev.nix ../../profiles/dev.nix
../../profiles/gui.nix ../../profiles/gui.nix

18
modules/texlive.nix Normal file
View file

@ -0,0 +1,18 @@
# This module installs the medium set of texlive.
# If more packages are needed, they should be installed locally by adding
# something like the follwing to `shell.nix`
#
# (texlive.combine { inherit (texlive) scheme-medium wrapfig; })
#
# TODO: include packages I often use
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(
texlive.combine {
inherit (texlive) scheme-medium;
}
)
];
}