From 2988c9cf560335e18b24e0bf5519467e664bc568 Mon Sep 17 00:00:00 2001 From: oqyude Date: Tue, 17 Feb 2026 21:56:26 +0300 Subject: [PATCH] 123 --- modules/vds/3x-ui.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/modules/vds/3x-ui.nix b/modules/vds/3x-ui.nix index 539d370..dabfac6 100644 --- a/modules/vds/3x-ui.nix +++ b/modules/vds/3x-ui.nix @@ -35,17 +35,8 @@ # Containers virtualisation.oci-containers.containers."3xui_app" = { - image = "3xui_app:latest"; - imageFile = pkgs.dockerTools.buildImage { - name = "3xui_app"; - fromImage = /etc/containers/3x-ui.tar.gz; - config = { - Cmd = [ "/3xui_app/serve" ]; - WorkingDir = "/3xui_app"; - }; - }; - # image = "docker.io/metaligh/3x-ui:latest"; + image = "compose2nix/3xui_app:latest"; # image = "localhost:7443/compose2nix/3xui_app"; environment = { "XRAY_VMESS_AEAD_FORCED" = "false"; @@ -83,7 +74,7 @@ TimeoutSec = 300; }; script = '' - cd /mnt/containers/3x-ui + cd /mnt/containers/3x-ui/image podman build -t compose2nix/3xui_app -f ./Dockerfile . ''; };