diff --git a/flake.nix b/flake.nix index 3fdfe4a..e2ce3f4 100644 --- a/flake.nix +++ b/flake.nix @@ -1,12 +1,12 @@ { description = "Curriculum Vitae"; inputs = { - nixpkgs.url = github:nixos/nixpkgs/nixos-unstable; - flake-utils.url = github:numtide/flake-utils; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils}: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; - input = "cv"; + inputName = "cv"; in { packages = rec { devShell = pkgs.mkShell { @@ -16,7 +16,7 @@ texlab ]; }; - document = pkgs.stdenvNoCC.mkDerivation rec { + document = pkgs.stdenvNoCC.mkDerivation { pname = "Curriculum Vitae"; version = "1.1"; src = ./src; @@ -28,11 +28,11 @@ mkdir -p .cache/texmf-var env TEXMFHOME=.cache TEXMFVAR=.cache/texmf-var \ latexmk -interaction=nonstopmode -pdf -pdflatex \ - ${input}.tex + ${inputName}.tex ''; installPhase = '' mkdir -p $out - cp ${input}.pdf $out/ + cp ${inputName}.pdf $out ''; }; default = document; diff --git a/src/cv.tex b/src/cv.tex index b12ec4c..d269af4 100644 --- a/src/cv.tex +++ b/src/cv.tex @@ -104,7 +104,7 @@ & Date of Birth: 2001-06-13\\ \uhref{https://voidcruiser.nl}{voidcruiser.nl} $|$ \uhref{https://docs.antimattercloud.nl}{docs.antimattercloud.nl} \\ - \uhref{https://files.antimattercloud.nl/git}{files.antimattercloud.nl/git} \\ + \uhref{https://forge.antimattercloud.nl/}{forge.antimattercloud.nl} \\ \uhref{https://gitlab.com/EternalWanderer}{GitLab.com/EternalWanderer} & Email: \uhref{mailto:marty.wanderer@disroot.org}{marty.wanderer@disroot.org} \\ \end{tabular*} @@ -219,13 +219,13 @@ Since I switched to NixOS, I decided it would be a good idea to port (some of) my packages over to Flakes. From there it kind of grew out of proportion and nearly everything I do is inside of a Flake these days, including this curriculum vitae. The Flake and repository can be found -\uhref{https://files.antimattercloud.nl/git/curriculum-vitae.git/}{here}. +\uhref{https://forge.antimattercloud.nl/Egg/curriculum-vitae}{here}. In fact, this document can be compiled on any system running Nix with Flakes enabled using the following command: \begin{lstlisting} -nix build git+https://files.antimattercloud.nl/git/curriculum-vitae.git +nix build git+https://forge.antimattercloud.nl/Egg/curriculum-vitae \end{lstlisting} \subsection{Lambda Calculus, Combinatory Logic \& adjacent mathematical topics}