config/hosts/TITAN/extras/invokeai.nix

18 lines
346 B
Nix
Raw Normal View History

2024-05-13 00:23:27 +03:00
{ config, inputs, ... }:
2023-03-03 01:24:34 +02:00
{
imports = [
inputs.nixified-ai.nixosModules.invokeai-nvidia
];
services.invokeai = {
enable = true;
2023-10-19 01:28:55 +03:00
settings = {
host = "0.0.0.0";
root = "/srv/data/ai/invokeai";
};
2023-03-03 01:24:34 +02:00
};
2024-05-13 00:23:27 +03:00
2024-06-02 21:06:10 +03:00
services.hyprspace.settings.services.invokeai = "/tcp/${toString config.services.invokeai.settings.port}";
2023-03-03 01:24:34 +02:00
}