|
138 | 138 | reverse_proxy 127.0.0.1:7171 |
139 | 139 | } |
140 | 140 |
|
| 141 | + handle_path /comfyui* { |
| 142 | + reverse_proxy 127.0.0.1:6188 |
| 143 | + } |
| 144 | +
|
141 | 145 | handle_path /caddy-api* { |
142 | 146 | reverse_proxy 127.0.0.1:2019 { |
143 | 147 | header_up Host {upstream_hostport} |
|
216 | 220 | description = "Download from spotify"; |
217 | 221 | }; |
218 | 222 | } |
| 223 | + { |
| 224 | + "ComfyUI" = { |
| 225 | + icon = "comfyui"; |
| 226 | + href = "/comfyui/"; |
| 227 | + description = "Stable Diffusion GUI"; |
| 228 | + widget = { |
| 229 | + type = "customapi"; |
| 230 | + url = "http://127.0.0.1:6188/system_stats"; |
| 231 | + refreshInterval = 5000; |
| 232 | + mappings = [ |
| 233 | + { |
| 234 | + field = "system.system_free_memory"; |
| 235 | + label = "Free RAM"; |
| 236 | + format = "size"; |
| 237 | + scale = 1; |
| 238 | + } |
| 239 | + { |
| 240 | + field = "devices.0.vram_free"; |
| 241 | + label = "VRAM Free"; |
| 242 | + format = "size"; |
| 243 | + scale = 1; |
| 244 | + } |
| 245 | + ]; |
| 246 | + }; |
| 247 | + }; |
| 248 | + } |
219 | 249 | ]; |
220 | 250 | } |
221 | 251 | { |
|
704 | 734 | # cachix stuffs |
705 | 735 | settings.substituters = [ |
706 | 736 | "https://cache.nixos.org" |
707 | | - # "https://cuda-maintainers.cachix.org" |
| 737 | + "https://cuda-maintainers.cachix.org" |
708 | 738 | "https://cachix.cachix.org" |
709 | 739 | # "https://jrestivo.cachix.org" |
710 | 740 | "http://nix-community.cachix.org/" |
| 741 | + "https://comfyui.cachix.org" |
711 | 742 | ]; |
712 | 743 | settings.trusted-public-keys = [ |
713 | 744 | "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" |
714 | | - # "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" |
| 745 | + "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" |
715 | 746 | "cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=" |
716 | 747 | "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" |
| 748 | + "comfyui.cachix.org-1:33mf9VzoIjzVbp0zwj+fT51HG0y31ZTK3nzYZAX0rec=" |
717 | 749 | ]; |
718 | 750 | gc = { |
719 | 751 | automatic = true; |
|
0 commit comments