aboutsummaryrefslogtreecommitdiff
path: root/flake.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-12-03switch to nixpkgs-fmt to format nix filesFranck Cuny1-1/+2
2023-12-03add `treefmt` and `pre-commit-hooks`Franck Cuny1-12/+26
I can now run `nix fmt` or `nix flake check` to check the syntax for various files in this repository. Fixed a deprecation warning for `hugo`: ``` > WARN The author key in site configuration is deprecated. Use params.author.email instead. > WARN The author key in site configuration is deprecated. Use params.author.name instead. ```
2023-09-14track nix' master instead of an old releaseFranck Cuny1-2/+2
Drop flyctl since I'm not deploying it there anymore.
2023-08-14remove unused configurationsFranck Cuny1-23/+1
Remove the configuration for fly.io and the configuration for Caddy since I'm running this on GitHub pages now. Remove unused targets from the flake configuration and drop the pandoc dependency. The resume is just a web page accessible at [1]. [1] https://fcuny.net/resume.html
2022-11-29build: pine nixpkgs to release-22.05Franck Cuny1-1/+1
2022-11-06fix(drone): specify the path to `awk' in the deployment scriptFranck Cuny1-2/+1
2022-10-27feat(content): generate the resume in PDF tooFranck Cuny1-1/+3
That way if someone is looking for it ...
2022-10-27feat(content): add my resumeFranck Cuny1-2/+4
Add my resume to the content, with a dedicated CSS. The resume is in org-mode format, and I use `pandoc` to convert it to HTML. This is done when the site is build, and is integrated in the docker image. It is available at /resume.html, but is not listed on the site, that way I can give the URL to who ever is interested in the future. It would be useful to also generate a PDF version of it and store it with other static content.
2022-10-07ref(build): build and deploy with nixFranck Cuny1-28/+52
Refactored the build of the docker image to be done with nix: the flake knows how to build the docker image, using caddy as a HTTP server. It generates a small image, with the configuration for caddy and the site generated by hugo (`nix build`). Deleted the Dockerfile since the creation is done with nix. Got rid of the deployment script since this is also done via the flake (`nix run .#deploy`).
2022-05-10who knowsFranck Cuny1-1/+1
2022-05-10i don't think it will workFranck Cuny1-8/+10
2022-05-10another tryFranck Cuny1-0/+21
2022-05-10one more timeFranck Cuny1-1/+1
2022-05-10add drone configuration and cleanup nixFranck Cuny1-14/+18
Add a drone configuration to run the deploy on a push to the main branch. Cleanup the nix configuration to only keep support for `nix run` (which will run the hugo server).
2022-05-01build: slowly moving to nixFranck Cuny1-0/+19
Add a `flake.nix' configuration to pull the required dependencies and run the server. Remove a few targets from the Makefile and move the deployment part to a script.