fix loading env vars
This commit is contained in:
parent
bd7144b20b
commit
1701e433dd
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue