summaryrefslogtreecommitdiff
path: root/srv/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'srv/default.nix')
-rw-r--r--srv/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/srv/default.nix b/srv/default.nix
index 7aa11b8..6f93f2f 100644
--- a/srv/default.nix
+++ b/srv/default.nix
@@ -25,12 +25,10 @@
# pow
export MEDIOCRE_BLOG_POW_SECRET="${config.powSecret}"
- # listening
+ # http
export MEDIOCRE_BLOG_LISTEN_PROTO="${config.listenProto}"
export MEDIOCRE_BLOG_LISTEN_ADDR="${config.listenAddr}"
-
- # api
- export MEDIOCRE_BLOG_API_AUTH_USERS='${builtins.toJSON config.httpAuthUsers}'
+ export MEDIOCRE_BLOG_HTTP_AUTH_USERS='${builtins.toJSON config.httpAuthUsers}'
'';
build = buildGoModule {