This is the hack approach to adding environment variables to the nginx configuration files. As with most Google results for this search, the reason is Docker.
I intended to deploy two Docker containers.
{ config, lib, pkgs, ... }: | |
with lib; | |
{ | |
imports = [ | |
# ISO image | |
<nixpkgs/nixos/modules/installer/cd-dvd/iso-image.nix> | |
# Hardware support similar to installer Live CD | |
<nixpkgs/nixos/modules/profiles/all-hardware.nix> |
This is the hack approach to adding environment variables to the nginx configuration files. As with most Google results for this search, the reason is Docker.
I intended to deploy two Docker containers.