NixOS for Raspberry Pi 4

I’ve been trying to get NixOS to run on my Raspberry Pi 4 for a few days and I finally managed to build a NixOS SD card image for it using the NixOS/nixpkgs repository and the unstable NixOS channel. This GitHub issue was really helpful! If you’d like to try it out, I’ve uploaded it here. To use it, you’ll need to: Unpack the bz2 archive Flash your microSD card (I prefer using Balena Etcher) Put the microSD card in your Raspberry Pi 4 and boot it Run nixos-generate-config Edit /etc/nixos/configuration.
Read more →

ad

Run NixOS in a DigitalOcean Droplet

This little tutorial will show you how to turn an Ubuntu Droplet (VM) on DigitalOcean into a NixOS Droplet using nixos-infect. NixOS is a Linux distribution which is declaratively configured using a specification written in the Nix expression language describing the desired state of the system. It supports automatic upgrades and rollbacks. Aside from DigitalOcean, you can run NixOS on most common computers. It’s possible to run NixOS on ARM64 computers, like on the Raspberry Pi 3.
Read more →

Run NixOS using Vagrant

In this tutorial we’ll create a NixOS virtual machine using Vagrant. This setup can be useful to setup an environment for learning NixOS. NixOS is a Linux distribution which is declaratively configured using a specification written in the Nix expression language describing the desired state of the system. It supports automatic upgrades and rollbacks. If something goes wrong, just revert to the working state. NixOS runs on common computers and architectures, and can be used both on laptops or workstations with a desktop environment, or on servers, both x86_64 and ARM64, like on the Raspberry Pi 3.
Read more →
As an Amazon Associate I earn from qualifying purchases.