Added required binaries to the API service PATH variable

This commit is contained in:
Illia Chub 2021-07-26 12:53:46 +03:00
parent 46e734e8d6
commit b62159d77a

View file

@ -713,7 +713,7 @@ in
environment = {
PYTHONUNBUFFERED = "1";
};
path = [ "/var/" "/var/dkim/" pkgs.coreutils pkgs.gnutar pkgs.xz.bin pkgs.gzip pkgs.gitMinimal pkgs.config.nix.package.out ];
path = [ "/var/" "/var/dkim/" pkgs.coreutils pkgs.gnutar pkgs.xz.bin pkgs.gzip pkgs.gitMinimal config.nix.package.out pkgs.nixos-rebuild ];
after = [ "network-online.target" ];
wantedBy = [ "network-online.target" ];
serviceConfig = {