systemd.globalEnvironment

NixOS option

Environment variables passed to all systemd units.

type: attribute set of (null or string or absolute path or package)
Default
{ }
Example
{
  TZ = "CET";
}
declared in: nixos/modules/system/boot/systemd.nixView source on NixOS/nixpkgs →