From 100b8145e89d1ad71b06c3e40172242d9fe299af Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Mon, 10 Nov 2025 15:44:49 -0500 Subject: [PATCH] fixed PYTHONPATH --- common/global/snapshot_manager.nix | 2 +- systems/jeeves/services/systemd.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/global/snapshot_manager.nix b/common/global/snapshot_manager.nix index c2fd0df..9bffd9e 100644 --- a/common/global/snapshot_manager.nix +++ b/common/global/snapshot_manager.nix @@ -35,7 +35,7 @@ in after = [ "zfs-import.target" ]; path = [ pkgs.zfs ]; environment = { - PYTHONPATH = "/home/richie/dotfiles"; + PYTHONPATH = "${../..}/"; }; serviceConfig = { Type = "oneshot"; diff --git a/systems/jeeves/services/systemd.nix b/systems/jeeves/services/systemd.nix index 0f863f5..89de998 100644 --- a/systems/jeeves/services/systemd.nix +++ b/systems/jeeves/services/systemd.nix @@ -22,7 +22,7 @@ in description = "validates startup"; path = [ pkgs.zfs ]; environment = { - PYTHONPATH = "/home/richie/dotfiles"; + PYTHONPATH = "${../../..}/"; }; serviceConfig = { EnvironmentFile = "${vars.secrets}/services/server-validation";