From 14624190529c818c4f70500d7b93bce76be271bc Mon Sep 17 00:00:00 2001 From: oqyude Date: Tue, 17 Feb 2026 21:48:35 +0300 Subject: [PATCH] 123 --- modules/vds/3x-ui.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/vds/3x-ui.nix b/modules/vds/3x-ui.nix index 3308168..e638824 100644 --- a/modules/vds/3x-ui.nix +++ b/modules/vds/3x-ui.nix @@ -35,7 +35,16 @@ # Containers virtualisation.oci-containers.containers."3xui_app" = { - image = "localhost:7443/compose2nix/3xui_app:latest"; + image = "3xui_app:latest"; + imageFile = pkgs.dockerTools.buildImage { + name = "3xui_app"; + fromImage = /mnt/containers/3x-ui/3x-ui.tar.gz; + config = { + Cmd = [ "/3xui_app/serve" ]; + WorkingDir = "/3xui_app"; + }; + }; + # image = "docker.io/metaligh/3x-ui:latest"; # image = "localhost:7443/compose2nix/3xui_app"; environment = {