diff options
Diffstat (limited to 'srv/default.nix')
-rw-r--r-- | srv/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/srv/default.nix b/srv/default.nix index 7067e1e..e7286b6 100644 --- a/srv/default.nix +++ b/srv/default.nix @@ -32,6 +32,9 @@ # listening export MEDIOCRE_BLOG_LISTEN_PROTO="${config.listenProto}" export MEDIOCRE_BLOG_LISTEN_ADDR="${config.listenAddr}" + + # api + export MEDIOCRE_BLOG_API_AUTH_USERS='${builtins.toJSON config.apiAuthUsers}' ''; build = buildGoModule { |