systemd.generatorEnvironment

NixOS option

Environment variables for systemd generators. The PATH environment variable is populated via systemd.generatorPath.

type: attribute set of string
Default
{ }
Example
{
  MY_VAR = "my-value";
}
declared in: nixos/modules/system/boot/systemd.nixView source on NixOS/nixpkgs →