summaryrefslogtreecommitdiff
path: root/config.nix
blob: 5f4bc1308acd8d2b4a011e76172cc954327200e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  runDir = "/tmp/mediocre-blog/run";
  dataDir = "/tmp/mediocre-blog/data";
  publicURL = "http://localhost:4000";

  powSecret = "ssshhh";
  mlSMTPAddr = "";
  mlSMTPAuth = "";
  httpListenProto = "tcp";
  httpListenAddr = ":4000";

  # password is "bar". This should definitely be changed for prod.
  httpAuthUsers = {
    "foo" = "$2a$13$0JdWlUfHc.3XimEMpEu1cuu6RodhUvzD9l7iiAqa4YkM3mcFV5Pxi";
  };

  # Very low, should be increased for prod.
  httpAuthRatelimit = "1s";
}