systemd.generatorEnvironment
NixOS option
Environment variables for systemd generators. The PATH environment variable is populated via systemd.generatorPath.
type: attribute set of stringDefault
{ }Example
declared in: nixos/modules/system/boot/systemd.nixView source on NixOS/nixpkgs →{
MY_VAR = "my-value";
}