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. ...

2024-02-16 · 112 min · 23680 words · Logan Barnett

Nix Adventures

Generating a Raspberry Pi image Setting up Machine Learning tools

2024-02-11 · 1 min · 10 words · Logan Barnett

Nix Adventures Part 2: Machine Learning Servers

Table of Contents What is this? Today’s adventure: Building a Suite of Machine Learning Servers Building on macOS (LocalAI) Building on macOS (stable-diffusion-webui) What is this? See Nix Adventures Part 1 for the introduction for all of this. Today’s adventure: Building a Suite of Machine Learning Servers I want to get a machine learning platform setup in my local network. I love the power of the Internet and I hate how dependent we are upon it, and the lack of privacy and control we have as a result. But with lots of spare time anyone can setup their own servers with this stuff. LocalAI looks good for this. Cool kids can tell me if there’s something better. ...

2024-01-19 · 43 min · 9030 words · Logan Barnett

Nix Adventures (part 1 of ?)

Table of Contents What is this? Introduction Nix Thus Far Today’s Project: Working on a Raspberry Pi Somehow Write to the Pi SD card Empower Editing SD Card Files from macOS Directly Making Edits to the SD Card sshd Connecting to the Pi (USB-C fail) Imaging the Pi Correctly Abandon Nix and Just Get it Done:private: Building the Image Prior Art Doing Real Nix Things on macOS Building the NixOS Pi image Trying to Make it Work with digga Just Use nix-generators Extracting the Image No Joy on Boot Back, and Display Ports Actually Joy on Boot Conclusion Nix Adventures part 1! ...

2023-12-22 · 44 min · 9234 words · Logan Barnett