summaryrefslogtreecommitdiff
path: root/config.nix
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2021-08-08 07:57:45 -0600
committerBrian Picciano <mediocregopher@gmail.com>2021-08-08 08:43:17 -0600
commit6feffc568ae790a883b9e0509d755e7d9bd82ee1 (patch)
treef913ce47e9f8204e5cf882f382d10e178e02367f /config.nix
parent0197d9cd493b5785bca05f476856540ec64da64a (diff)
refactor how nix derivations are organized and built
Diffstat (limited to 'config.nix')
-rw-r--r--config.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.nix b/config.nix
index b0396a8..1d9c77a 100644
--- a/config.nix
+++ b/config.nix
@@ -1,10 +1,14 @@
{
+ runDir = "/tmp/mediocre-blog/run";
+ dataDir = "/tmp/mediocre-blog/data";
+
powSecret = "ssshhh";
mlSMTPAddr = "";
mlSMTPAuth = "";
- dataDir = "/tmp/mediocre-blog-data";
publicURL = "http://localhost:4000";
listenProto = "tcp";
listenAddr = ":4000";
- redisListenPath = "/tmp/mediocre-blog-redis";
+
+ # If empty then a derived static directory is used
+ staticProxyURL = "http://127.0.0.1:4001";
}