summaryrefslogtreecommitdiff
path: root/srv/default.nix
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-20 14:30:09 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-20 14:30:26 -0600
commitaf434077ef3a971494fb0bc69ec9617c3b365abd (patch)
tree2a7c47c9450c2a6b5ac5bcae5c17b33f9a326db9 /srv/default.nix
parent16cfbd19157df76e7296dddb287412f1099feb33 (diff)
Implement image macro for rendering images
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 {