cleanup wallpapers
|
Before Width: | Height: | Size: 1016 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 3.3 MiB |
|
Before Width: | Height: | Size: 307 KiB |
|
Before Width: | Height: | Size: 307 KiB |
|
Before Width: | Height: | Size: 940 KiB |
|
Before Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 376 KiB |
|
Before Width: | Height: | Size: 480 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 771 KiB |
|
Before Width: | Height: | Size: 3.2 MiB |
|
Before Width: | Height: | Size: 156 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 87 KiB |
@@ -26,6 +26,7 @@
|
||||
../../modules/basePackages.nix
|
||||
../../modules/develPackages.nix
|
||||
../../modules/desktopApplications.nix
|
||||
../../modules/comfyui.nix
|
||||
|
||||
];
|
||||
|
||||
|
||||
40
modules/comfyui.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
stateDir = "/var/lib/comfyui";
|
||||
port = 8900;
|
||||
in
|
||||
{
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
virtualisation.oci-containers.containers.comfyui = {
|
||||
|
||||
image = "ghcr.io/ai-dock/comfyui:v2-rocm-6.0-runtime-22.04-v0.2.7";
|
||||
autoStart = true;
|
||||
|
||||
|
||||
extraOptions = [ "--gpus=all" ];
|
||||
|
||||
ports = [
|
||||
"0.0.0.0:${toString port}:8080"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"${stateDir}/:/"
|
||||
];
|
||||
|
||||
environment = {
|
||||
ANONYMIZED_TELEMETRY = "False";
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
# Create persistent state directories (like StateDirectory in systemd)
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${stateDir}/ 0755 root root - -" ];
|
||||
|
||||
# Optional — open firewall for access
|
||||
networking.firewall.allowedTCPPorts = [ port ];
|
||||
}
|
||||
@@ -56,6 +56,7 @@
|
||||
python3Packages.litellm
|
||||
python3Packages.requests
|
||||
python3Packages.flake8
|
||||
python3Packages.torch
|
||||
|
||||
#dotnet-sdk_8
|
||||
#dotnet-sdk_9
|
||||
|
||||