A fully reproducible nix flake for automatic1111/stable-diffusion-webui with CUDA support.
Run the webui:
nix run github:niki-on-github/stable-diffusion-nix#automatic1111
or run local from cloned repo:
nix run .#automatic1111
You can accept the following prompts to use the nix cache from maxaudron
.
You will have to set the output directory in the webui settings after first starting it, or it will crash with OSError: [Errno 30] Read-only file system: 'outputs'
. Simply change all output directories in Setting : Paths
for saving to absolute paths e.g. your home directory.
Simple way to public forward the local webui to port 8001:
nix-shell -p socat --run "socat tcp-listen:8001,reuseaddr,fork tcp:localhost:7860"