diff --git a/default.nix b/default.nix
index 9ae0b3213f5b4e7192965e774df18699c6dfed51..0a94414113c9bbc04e779bfced7c79e9cbac7f69 100644
--- a/default.nix
+++ b/default.nix
@@ -1,42 +1,16 @@
 { pkgs ? import <nixpkgs> {} }:
 with pkgs;
-let texlive = pkgs.texlive.combine {
-    inherit (pkgs.texlive)
-    everypage
-    scheme-full
-    xkeyval
-    times
-    courier
-    wrapfig
-    xcolor
-    booktabs
-    caption
-    siunitx
-    fixme
-    todo
-    tabulary
-    algorithms
-    algorithmicx
-    acmart
-    totpages
-    environ
-    trimspaces
-    ncctools
-    comment
-    dirtree ;
-  };
-  inputs = [ texlive pkgs.dia rubber ninja ];
+let
+  texlive = pkgs.texlive.combined.scheme-minimal;
 in
+  stdenv.mkDerivation rec {
+    name = "slides";
+    src = ./.;
+    buildInputs = [ texlive pkgs.dia rubber ninja ];
+    buildPhase = "make";
 
-stdenv.mkDerivation rec {
-
-  name="paper";
-  src = ./.;
-  buildPhase = "make";
-
-  buildInputs = inputs;
-  installPhase = ''
-    mkdir $out
-    cp slides.pdf $out
+    installPhase = ''
+      mkdir $out
+      cp slides.pdf $out
     '';
-}
+  }