fix loading env vars

This commit is contained in:
Jonas Heinrich 2025-03-12 12:15:30 +01:00
parent bd7144b20b
commit 1701e433dd

View file

@ -81,8 +81,9 @@ in
description = "eintopf-radar-sync script"; description = "eintopf-radar-sync script";
after = [ "network.target" ]; after = [ "network.target" ];
wants = [ "network-online.target" ]; wants = [ "network-online.target" ];
environment.PYTHONUNBUFFERED = "1"; environment = {
environment = cfg.settings; PYTHONUNBUFFERED = "1";
} // cfg.settings;
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";
ExecStart = lib.getExe pkgs.eintopf-radar-sync; ExecStart = lib.getExe pkgs.eintopf-radar-sync;