This commit is contained in:
2025-08-10 20:57:06 -07:00
parent ddec7ebe50
commit f3f8022aa3
2 changed files with 4 additions and 9 deletions
+2 -2
View File
@@ -79,8 +79,6 @@ in
SYSTANT_PUBLISH_INTERVAL = toString cfg.publishInterval;
# Override RELEASE_COOKIE to bypass file reading
RELEASE_COOKIE = "systant-bypass-cookie";
# Set proper PATH for NixOS
PATH = "/run/current-system/sw/bin:/run/wrappers/bin:\${PATH}";
# Set log level to debug for troubleshooting
SYSTANT_LOG_LEVEL = "debug";
};
@@ -95,6 +93,8 @@ in
StandardError = "journal";
SyslogIdentifier = "systant";
WorkingDirectory = "${cfg.package}";
# Import environment from user session
ExecStartPre = "${pkgs.systemd}/bin/systemctl --user import-environment PATH XDG_RUNTIME_DIR WAYLAND_DISPLAY";
};
};
};