~/talk

Nix: know what you are running, testing and deploying

Talkat PyCon SK 2024 · 2024-03-15..03-17· [devops-and-delivery]
links:none on file
slides:none on file

Demonstrates a reproducible workflow that builds a minimal Flask app from a poetry.lock into a Nix derivation, produces a Docker image with only build-needed files and successfully runs the container, and runs pytest inside a Nix dev shell for CI. Uses poetry-to-nix to generate derivations, activates editable development via nix develop with direnv integration, and updates pinned inputs with flake update. Notes tradeoffs: learning Nix language and harder local debugging, plus friction with older package versions.

AI-written summary · about

  1. 0:00Introduction to Nix
  2. 2:38Problems with current setup
  3. 5:27What is Nix
  4. 6:33Demo with Python project
  5. 9:52Building with Nix
  6. 10:12Understanding flake.nix
  7. 11:58Docker image with Nix
  8. 13:53Running Docker image
  9. 14:58Security benefits of Nix
  10. 16:01Nix development shells
  11. 18:40direnv integration
  12. 19:54Adding tests
  13. 21:40Setting up CI
  14. 23:38Why Nix over Docker
  15. 24:42Q&A begins
  16. 36:10Closing and thanks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.