Solving Dumb Hacker Problems With Nix | Ryan Basden
Details solving Dumb Hacker Problems With Nix | Ryan Basden and evaluates key implications for security practitioners.
Summary
Hacker environment chaos
Ryan Basden, ex-Fox red team and pentest director, describes recurring "dumb hacker problems": broken dependencies, inconsistent tool versions, and ad-hoc VM sprawl. He turned to Nix after Arch Linux dotfiles failed to deliver the declarative reproducibility he expected.
What Nix actually is
Nix is simultaneously a package manager (drop-in for apt, brew, pacman), a pure functional expression language, and the foundation for NixOS declarative system configuration. Packages live in the Nix store with content-addressed paths, enabling rollbacks and identical environments across machines.
Practical hacker workflows
Basden covers home-manager dotfiles, ephemeral root filesystems that wipe on reboot while persisting the store, atomic generation rollbacks after breaking a desktop, and systemd-nspawn containers without Docker. Trade-offs include abstraction complexity and friction when Nix wraps systemd behaviors he prefers to manage directly.
Related talks
Black Hat·41 min
Breaking Brains · Solving Problems
Analysts investigate attack surfaces and defenses concerning Breaking Brains, Solving Problems: Lessons Learned from 2 Years of Setting puzzles for InfoSec Pros.
PROIDEA Events·44 min
Sebastian Malaca
Sebastian Malaca details JDD 2024: Microservices - How to create problems by solving problems?.
PROIDEA Events·39 min
Michał Łusiak
Michał Łusiak investigates 4Developers 2021: Solving 3 business problems in 45 minutes using ML.NET.


