fix(update): correct some paths
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-12-17 00:26:53 -05:00
parent 3ac4c45c4d
commit 9c18766ee1
2 changed files with 4 additions and 4 deletions

View file

@ -18,10 +18,10 @@ const updateImages = (imagePath: string): string | undefined => {
export const updateDocker = () => { export const updateDocker = () => {
let updates = ''; let updates = '';
updates += updateImages(`${FLAKE}/devices/nos/modules/jellyfin`) ?? ''; updates += updateImages(`${FLAKE}/configurations/nos/modules/jellyfin`) ?? '';
updates += updateImages(`${FLAKE}/devices/homie/modules/home-assistant/netdaemon`) ?? ''; 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) => { readdirSync(DIR, { withFileTypes: true, recursive: true }).forEach((path) => {
if (path.name === 'compose.nix') { if (path.name === 'compose.nix') {

View file

@ -20,7 +20,7 @@ const genVueText = (
`; `;
export const updateVuetorrent = () => { 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', const OLD_VERSION = JSON.parse(spawnSync('nix',
['eval', '-f', FILE, '--json'], ['eval', '-f', FILE, '--json'],