AUTOMATIC1111/stable-diffusion-webui for CUDA and ROCm on NixOS
Go to file
2022-12-31 18:09:05 +08:00
flake.lock feat: initial functionality 2022-12-31 18:04:07 +08:00
flake.nix feat: initial functionality 2022-12-31 18:04:07 +08:00
impl.nix feat: initial functionality 2022-12-31 18:04:07 +08:00
LICENSE chore: add LICENSE 2022-12-31 18:09:05 +08:00
README.md doc: fix README link 2022-12-31 18:05:29 +08:00
shell.nix feat: initial functionality 2022-12-31 18:04:07 +08:00

AUTOMATIC1111/stable-diffusion-webui for CUDA on NixOS

This is literally just a shell.nix and a flake.nix for stable-diffusion-webui using CUDA on NixOS. This currently doesn't support AMD cards (I don't have one) but feel free to contribute.

Usage

git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
git clone https://github.com/virchau13/automatic1111-webui-nix
cp automatic1111-webui-nix-flake/*.nix stable-diffusion-webui/
cd stable-diffusion-webui
nix shell # or `nix-shell` if you're not using flakes
# just use `./webui.sh` to run it, it'll install all the rest automatically
# follow the tutorials at the original project for setting up Stable Diffusion / GFPGAN / whatever

You might want to switch to high performance mode on battery-powered devices.

Credits