config/hosts/TITAN/extras/invokeai.nix

17 lines
346 B
Nix

{ config, inputs, ... }:
{
imports = [
inputs.nixified-ai.nixosModules.invokeai-nvidia
];
services.invokeai = {
enable = true;
settings = {
host = "0.0.0.0";
root = "/srv/data/ai/invokeai";
};
};
services.hyprspace.settings.services.invokeai = "/tcp/${toString config.services.invokeai.settings.port}";
}