Posts of the category how-to
![Blog post image for post nix-wasm](/img/posts/nix-wasm.png)
Nix as a WebAssembly build tool
Making Wasm's potential portability a reality
![Blog post image for post fh-updates](/img/posts/fh-updates.png)
Creating and modifying flakes using the FlakeHub CLI
The FlakeHub CLI, fh
, now enables you to generate new flakes from scratch or modify existing flakes in place,
providing major ergonomic benefits for working with flakes.
![Blog post image for post instrumenting-axum](/img/posts/instrumenting-axum.png)
Instrumenting Axum projects
Fitting the pieces together for pleasant errors and logs in Axum.
![Blog post image for post declarative-gnome-configuration-with-nixos](/img/posts/declarative-gnome-configuration-with-nixos.png)
Declarative GNOME configuration with NixOS
When I first started using Linux in 2006, I remember dreaming of a Linux Console. It wasn't so far fetched, the PlayStation 3 had just been released with OtherOS support which allowed users to install Linux (or BSD). Still, it seemed that a Linux-first console seemed like it would only ever be a dream.
![Blog post image for post open-policy-agent](/img/posts/open-policy-agent.png)
Packaging Open Policy Agent policies with Nix
How I used Nix to turn Open Policy Agent policies into standalone CLI tools
![Blog post image for post extending-nixos-configurations](/img/posts/extending-nixos-configurations.png)
Extending NixOS configurations
NixOS modules and configurations offer us a tantalizing way to express and
share systems. My friends and I can publish our own flakes containing
nixosModules
or/and nixosConfigurations
outputs which can be imported,
reused, and remixed.
![Blog post image for post nix-on-the-steam-deck](/img/posts/nix-on-the-steam-deck.png)
Nix on the Steam Deck
When I first started using Linux in 2006, I remember dreaming of a Linux Console. It wasn't so far fetched, the PlayStation 3 had just been released with OtherOS support which allowed users to install Linux (or BSD). Still, it seemed that a Linux-first console seemed like it would only ever be a dream.
![Blog post image for post nix-to-kubernetes](/img/posts/nix-to-kubernetes.png)
Deploying Nix-built containers to Kubernetes
While it's easy to fall in love with Nix and want to use it to build and configure just about everything, let's face it: few of us are in a position to do so, especially in the workplace. "Hey team, let's Nixify our entire stack!" is unlikely to endear you to your coworkers at daily standup.
![Blog post image for post nix-github-actions](/img/posts/nix-github-actions.png)
Streamline your GitHub Actions dependencies using Nix
Make your CI pipeline both strictly declarative and reproducible across environments by replacing third-party Actions with Nix shell environments.
![Blog post image for post qemu-fix](/img/posts/qemu-fix.png)
Make your QEMU 10 times faster with this one weird trick
NixOS uses virtual machines based on QEMU extensively for running its test suite. In order to avoid generating a disk image for every test, the test driver usually boots using a Plan 9 File Protocol (9p) share (server implemented by QEMU) for the Nix store, which contains all the programs...
![Blog post image for post nix-run](/img/posts/nix-run.png)
Using Nix to run software with no installation steps
All you need is the Nix CLI and a flake URL to run executables using Nix. There's nothing else quite like it in our industry.
![Blog post image for post nix-direnv](/img/posts/nix-direnv.png)
Effortless dev environments with Nix and direnv
Like many of you, I work on a lot of different projects. Even when a project is less serious—hey, I should check out this new JS framework!—I strive to reduce the friction involved with setting up the project's dev environment to the absolute bare minimum possible.
![Blog post image for post nix-home-env](/img/posts/nix-home-env.png)
Building a highly optimized home environment with Nix
How I used Home Manager and a personal project called Nome to declutter and optimize my home environment using Nix.
![Blog post image for post hydra-deployment-source-of-truth](/img/posts/hydra-deployment-source-of-truth.png)
How to Use Hydra as your Deployment Source of Truth
Hydra is a fantastic tool for building small and large software collections. It is also a great tool for orchestrating releases.