From aa2bde9ee4ae333b5d120ad8b49d398c0e0477ca Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Sun, 22 Feb 2026 20:55:47 -0600 Subject: Added Gromov paper + trying to work out some bugs --- flake.nix | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index a79574b..d44582d 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,6 @@ systems.follows = "systems"; }; }; - files.url = "github:mightyiam/files"; flake-parts.url = "github:hercules-ci/flake-parts"; systems.url = "github:nix-systems/default"; }; @@ -20,7 +19,6 @@ imports = [ latex-utils.modules.flake.latex-utils - inputs.files.flakeModules.default ]; latex-utils = { @@ -39,21 +37,20 @@ inputsFrom = [ config.devShells.latex-utils ]; - nativeBuildInputs = [ - config.files.writer.drv - ]; + # nativeBuildInputs = [ + # config.packages.latexmk + # ]; }; - files.files = [ - { - path_ = ".latexmkrc"; - drv = pkgs.writeText ".latexmkrc" /* perl */ '' - $out_dir = './build'; - $pdf_mode = 1; - $pdflatex = 'pdflatex -shell-escape -interaction=nonstopmode %O %S'; + packages = { + deploy = pkgs.writeShellApplication { + name = "deploy"; + runtimeInputs = [ pkgs.rsync ]; + text = '' + rsync --chown=nginx:nginx ${config.packages.cv} root@mathematicaster.org:/var/www/doc/cv.pdf ''; - } - ]; + }; + }; }; }; } -- cgit v1.2.3