diff options
| author | Chris Wells <chris@mathematicaster.org> | 2026-02-22 20:55:47 -0600 |
|---|---|---|
| committer | Chris Wells <chris@mathematicaster.org> | 2026-02-22 20:55:47 -0600 |
| commit | aa2bde9ee4ae333b5d120ad8b49d398c0e0477ca (patch) | |
| tree | 7936b79ad13cec199092064b36b0d7b4650fef83 /flake.nix | |
| parent | 59e2d3fa6f4c0c81ad31589f2c5205b4d05499c6 (diff) | |
| download | cv-aa2bde9ee4ae333b5d120ad8b49d398c0e0477ca.tar cv-aa2bde9ee4ae333b5d120ad8b49d398c0e0477ca.tar.gz cv-aa2bde9ee4ae333b5d120ad8b49d398c0e0477ca.tar.bz2 cv-aa2bde9ee4ae333b5d120ad8b49d398c0e0477ca.tar.lz cv-aa2bde9ee4ae333b5d120ad8b49d398c0e0477ca.tar.xz cv-aa2bde9ee4ae333b5d120ad8b49d398c0e0477ca.tar.zst cv-aa2bde9ee4ae333b5d120ad8b49d398c0e0477ca.zip | |
Added Gromov paper + trying to work out some bugs
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 25 |
1 files changed, 11 insertions, 14 deletions
@@ -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 ''; - } - ]; + }; + }; }; }; } |
