dev

Nix Based C++ Workflow From Scratch

An introduction and a template for setting up C++/CMake development project from scratch.

On Packaging Python Application with Nix

Background It is usually quite easy to package python modules with Nix. Most of the time, all you need to do is list the dependencies. Still, I have run across challenges that take a long time to solve on a few instances, and I would like to take this opportunity to document and share the solutions. I hope this information i useful to anyone that package Python libraries or applications.

Web Development Environment on Specified Version of NodeJS, with Nix

The Goal Web development was fun but setting up the environment can sometimes be tedious because you might need multiple versions of NodeJS installed (hint: not all npm packages are compatible with all versions of NodeJS). Many developers uses nvm to manage their NodeJS versions, and it works great. However, since we are NixOS fans and Nix itself is a great package management tool, we would like to use it to manage our web development environment as well.

Packaging (Nightly) Rust Application with Nix

Introduction Rust has gained a lot of traction recently. I was chatting with a friend about building web applications with rust, and mentioned how rocket makes it easier and enjoyable. I figured it might be a good time to pick rust up now. It does not take long to refamiliarize myself with rust and rocket, and I ended up building a tiny and dumb web application with it. My plan was to further polish it and make it a NixOS service, so that I can easily spin it up on all my NixOS powered machines.