16:05
-
16:10
-
16:10
Day 1
Building a digital inventory with NixOS modules
<p>I'll present my story of building a machine-readable inventory of computing equipment of my employer. It collects information such as: “<em>This <strong>computer</strong> is located in this <strong>room</strong> with this <strong>network configuration</strong>, these <strong>software requirements</strong> and is connected to this <strong>port</strong> of this <strong>switch</strong></em>” so that I can easily develop scripts that configure the machine, the switch, monitoring of both and many other things including a physical map.</p>
<p>I went through many iterations of this project–codenamed <em>AR</em>–and settled on NixOS modules for their balance between how easy it is to write new records and how easy it is to use them. Let me share the joy it brought to my job and present curated code snippets so you can build your own inventory with ease.</p>