fixed PYTHONPATH

This commit is contained in:
2025-11-10 15:44:49 -05:00
parent e99cd8e54a
commit 100b8145e8
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ in
after = [ "zfs-import.target" ]; after = [ "zfs-import.target" ];
path = [ pkgs.zfs ]; path = [ pkgs.zfs ];
environment = { environment = {
PYTHONPATH = "/home/richie/dotfiles"; PYTHONPATH = "${../..}/";
}; };
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";

View File

@@ -22,7 +22,7 @@ in
description = "validates startup"; description = "validates startup";
path = [ pkgs.zfs ]; path = [ pkgs.zfs ];
environment = { environment = {
PYTHONPATH = "/home/richie/dotfiles"; PYTHONPATH = "${../../..}/";
}; };
serviceConfig = { serviceConfig = {
EnvironmentFile = "${vars.secrets}/services/server-validation"; EnvironmentFile = "${vars.secrets}/services/server-validation";