networking.networkmanager.ensureProfiles.environmentFiles

NixOS option

Files to load as environment file. Environment variables from this file will be substituted into the static configuration file using envsubst.

type: list of absolute path
Default
[ ]
Example
[
  "/run/secrets/network-manager.env"
]
declared in: nixos/modules/services/networking/networkmanager.nixView source on NixOS/nixpkgs →