From e8dc02b02c9ca93d05a319a67f8e902e3dbde120 Mon Sep 17 00:00:00 2001 From: chaos Date: Wed, 24 Jul 2024 17:00:54 +0100 Subject: [PATCH] fix relative paths --- hosts/hetzner-arm/containers/jellyfin/default.nix | 2 +- hosts/hetzner-arm/containers/storage/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/hetzner-arm/containers/jellyfin/default.nix b/hosts/hetzner-arm/containers/jellyfin/default.nix index f6aaebf..a419f4f 100644 --- a/hosts/hetzner-arm/containers/jellyfin/default.nix +++ b/hosts/hetzner-arm/containers/jellyfin/default.nix @@ -11,7 +11,7 @@ containerName = "jellyfin"; - containerAddresses = import "../../data/containerAddresses.nix"; + containerAddresses = import "${self}/hosts/hetzner-arm/data/containerAddresses.nix"; hostIP = containerAddresses.host; containerIP = containerAddresses.containers.${containerName}; diff --git a/hosts/hetzner-arm/containers/storage/default.nix b/hosts/hetzner-arm/containers/storage/default.nix index ffe6d6f..c56de37 100644 --- a/hosts/hetzner-arm/containers/storage/default.nix +++ b/hosts/hetzner-arm/containers/storage/default.nix @@ -9,7 +9,7 @@ inherit (lib.attrsets) attrValues; inherit (lib.lists) flatten; - containerAddresses = import "../../data/containerAddresses.nix"; + containerAddresses = import "${self}/hosts/hetzner-arm/data/containerAddresses.nix"; hostIP = containerAddresses.host; containerIP = containerAddresses.containers.storage;