From 9c18766ee1cfce543355ff55d3b31d1afc736684 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 17 Dec 2024 00:26:53 -0500 Subject: [PATCH] fix(update): correct some paths --- apps/update-sources/src/docker.ts | 6 +++--- apps/update-sources/src/misc.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/update-sources/src/docker.ts b/apps/update-sources/src/docker.ts index c58bfbdf..aa5a33ae 100644 --- a/apps/update-sources/src/docker.ts +++ b/apps/update-sources/src/docker.ts @@ -18,10 +18,10 @@ const updateImages = (imagePath: string): string | undefined => { export const updateDocker = () => { let updates = ''; - updates += updateImages(`${FLAKE}/devices/nos/modules/jellyfin`) ?? ''; - updates += updateImages(`${FLAKE}/devices/homie/modules/home-assistant/netdaemon`) ?? ''; + updates += updateImages(`${FLAKE}/configurations/nos/modules/jellyfin`) ?? ''; + updates += updateImages(`${FLAKE}/configurations/homie/modules/home-assistant/netdaemon`) ?? ''; - const DIR = `${FLAKE}/devices/nos/modules/docker`; + const DIR = `${FLAKE}/configurations/nos/modules/docker`; readdirSync(DIR, { withFileTypes: true, recursive: true }).forEach((path) => { if (path.name === 'compose.nix') { diff --git a/apps/update-sources/src/misc.ts b/apps/update-sources/src/misc.ts index 9dbc501b..b8557317 100644 --- a/apps/update-sources/src/misc.ts +++ b/apps/update-sources/src/misc.ts @@ -20,7 +20,7 @@ const genVueText = ( `; export const updateVuetorrent = () => { - const FILE = `${FLAKE}/devices/nos/modules/qbittorrent/vuetorrent.nix`; + const FILE = `${FLAKE}/configurations/nos/modules/qbittorrent/vuetorrent.nix`; const OLD_VERSION = JSON.parse(spawnSync('nix', ['eval', '-f', FILE, '--json'],