17 lines
337 B
Nix
17 lines
337 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.services.invokeai = "/tcp/${toString config.services.invokeai.settings.port}";
|
|
}
|