Nix Adventures Part 3: stable-diffusion-webui
Table of Contents What is this? Adventure: Standing up a stable-diffusion-webui server on a new host Preparing the Host Refactor the Host repository Fixing all of the errors Direct builds What is this? See Nix Adventures Part 1 for the introduction for all of this. Adventure: Standing up a stable-diffusion-webui server on a new host This is going to loosely be broken up into two parts: Build an x86_64-linux or i686-linux image for the new host. Improve upon the existing stable-diffusion-webui Nix Flakes setup such that the server can be installed and configured via Nix itself. Preparing the Host Preparing the host entails getting cross compilation working on the host repository. Since I’ve done that earlier for a Raspberry Pi image, I want this new host’s base image to leverage that prior work. As part of doing this, I expect to refactor the repository a bit such that reusable bits needn’t be repeated, and there are clean, free standing modules that can be included a la carte for new hosts. ...