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";