diff --git a/frontend/public/json/podman-homeassistant.json b/frontend/public/json/podman-homeassistant.json index 503735ab2..22e38f839 100644 --- a/frontend/public/json/podman-homeassistant.json +++ b/frontend/public/json/podman-homeassistant.json @@ -12,7 +12,7 @@ "documentation": "https://www.home-assistant.io/docs/", "website": "https://www.home-assistant.io/", "logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/home-assistant.svg", - "config_path": "", + "config_path": "/var/lib/containers/storage/volumes/hass_config/_data", "description": "A standalone Podman container-based installation of Home Assistant Core means that the Home Assistant Core software is installed inside a container managed by Podman, separate from the host operating system. This provides a flexible and scalable solution for running the software, as the container can be easily moved between host systems or isolated from other processes for security. Podman is a popular open-source tool for managing containers that is similar to Docker, but designed for use on Linux systems without a daemon.\r\n\r\n\ud83d\udec8 If the LXC is created Privileged, the script will automatically set up USB passthrough.", "install_methods": [ { diff --git a/frontend/public/json/watchyourlan.json b/frontend/public/json/watchyourlan.json index ce537a82c..3bd33ad1d 100644 --- a/frontend/public/json/watchyourlan.json +++ b/frontend/public/json/watchyourlan.json @@ -12,7 +12,7 @@ "documentation": null, "website": "https://github.com/aceberg/WatchYourLAN", "logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/webp/watchyourlan.webp", - "config_path": "", + "config_path": "/data/config.yaml", "description": "WatchYourLAN is a lightweight network IP scanner with web GUI.", "install_methods": [ { diff --git a/frontend/src/app/json-editor/_schemas/schemas.ts b/frontend/src/app/json-editor/_schemas/schemas.ts index 9ffe8f3a1..63c676e6a 100644 --- a/frontend/src/app/json-editor/_schemas/schemas.ts +++ b/frontend/src/app/json-editor/_schemas/schemas.ts @@ -33,6 +33,7 @@ export const ScriptSchema = z.object({ documentation: z.string().nullable(), website: z.string().url().nullable(), logo: z.string().url().nullable(), + config_path: z.string(), description: z.string().min(1, "Description is required"), install_methods: z.array(InstallMethodSchema).min(1, "At least one install method is required"), default_credentials: z.object({ diff --git a/frontend/src/app/json-editor/page.tsx b/frontend/src/app/json-editor/page.tsx index 1789b0a29..fd1a6e966 100644 --- a/frontend/src/app/json-editor/page.tsx +++ b/frontend/src/app/json-editor/page.tsx @@ -32,6 +32,7 @@ const initialScript: Script = { privileged: false, interface_port: null, documentation: null, + config_path: "", website: null, logo: null, description: "", @@ -174,6 +175,14 @@ export default function JSONGenerator() { onChange={(e) => updateScript("logo", e.target.value || null)} /> +