diff --git a/flake.nix b/flake.nix index 79d148a..bc94add 100644 --- a/flake.nix +++ b/flake.nix @@ -30,16 +30,6 @@ ]; in { - templates = { - latex = { - path = ./templates/latex; - description = "Template for LaTeX"; - }; - pandoc = { - path = ./templates/pandoc; - description = "Template for Pandoc Markdown"; - }; - }; devShells.default = self.devShells.${system}.latex; devShells.latex = pkgs.stdenv.mkDerivation { inherit name; @@ -60,5 +50,17 @@ ]; }; } - ); + ) // { + templates = { + latex = { + path = ./templates/latex; + description = "Template for LaTeX"; + }; + pandoc = { + path = ./templates/pandoc; + description = "Template for Pandoc Markdown"; + }; + }; + defaultTemplate = self.templates.latex; + }; }