Hello HN! I want to show you MyNixOS.com – a website I’ve been working on this year to make it easy to create and share Nix and NixOS configurations. Nix is a powerful tool to deploy software in a reproducible way, and with NixOS you can control your whole operating system through a declarative configuration. Starting out with Nix was exciting, but it definitely had a challenging learning curve. This made me start building a website focused on making it easier to create and share Nix flakes, which are the core unit of software deployment in Nix. Using the website, you can create flakes without knowing the Nix configuration language, as the necessary Nix files are generated for you. A few examples of what you can do right now: 1: Create and build a Docker image with Redis and OpenSSH running NixOS: https://mynixos.com/mynixos/demo-docker / https://www.youtube.com/watch?v=3fuCGXHw7qM 2: Create a Nix development shell with Neovim and Zig and run it on Windows 11: https://mynixos.com/mynixos/demo-windows-devshell / https://www.youtube.com/watch?v=F4q72mGjYXA 3: Create a reproducible macOS environment using nix-darwin and Home Manager: https://mynixos.com/mynixos/demo-macos / https://www.youtube.com/watch?v=r0Y7s1sRSUY 4: Create a Linode server image using NixOS running Nginx with Let’s Encrypt: https://mynixos.com/mynixos/demo-linode-nginx / https://www.youtube.com/watch?v=Cy4X0fjD0-Y 5: Create a Raspberry Pi NixOS image running Transmission and OpenSSH: https://mynixos.com/mynixos/demo-raspberry-transmission / https://www.youtube.com/watch?v=6L0H92-JdHA The site works directly with the Nix command line tool, and generates pure Nix flakes without any custom formats. The website is currently in alpha and is developed as a closed source project. Some interesting upcoming features include support for language environments such as Python, and the ability to install arbitrary versions of packages. By posting on HN, I’m especially looking to get in contact with early commercial users of Nix to learn more about the most important use-cases to solve. Hoping that you will find the site useful, and I’ll happily try to answer any questions you might have!
Story Published at: November 27, 2022 at 01:15PM

Leave a Reply

Your email address will not be published. Required fields are marked *