From f98781d03d372aaa5cc6ea7aa33a11a5d7da1f60 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 26 Aug 2020 01:08:08 +0200 Subject: [PATCH] Add texlive (medium) --- machines/nunotaba/configuration.nix | 1 + modules/texlive.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 modules/texlive.nix diff --git a/machines/nunotaba/configuration.nix b/machines/nunotaba/configuration.nix index fd4c3fa..9276d11 100644 --- a/machines/nunotaba/configuration.nix +++ b/machines/nunotaba/configuration.nix @@ -5,6 +5,7 @@ [ /etc/nixos/hardware-configuration.nix ../../modules/restic.nix + ../../modules/texlive.nix ../../profiles/base.nix ../../profiles/dev.nix ../../profiles/gui.nix diff --git a/modules/texlive.nix b/modules/texlive.nix new file mode 100644 index 0000000..15b8fd2 --- /dev/null +++ b/modules/texlive.nix @@ -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; + } + ) + ]; +}