summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2026-02-22 20:55:47 -0600
committerChris Wells <chris@mathematicaster.org>2026-02-22 20:55:47 -0600
commitaa2bde9ee4ae333b5d120ad8b49d398c0e0477ca (patch)
tree7936b79ad13cec199092064b36b0d7b4650fef83 /flake.nix
parent59e2d3fa6f4c0c81ad31589f2c5205b4d05499c6 (diff)
downloadcv-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.nix25
1 files changed, 11 insertions, 14 deletions
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
'';
- }
- ];
+ };
+ };
};
};
}