mediocre-blog/config.nix

20 lines
481 B
Nix
Raw Normal View History

2021-08-03 23:47:01 +00:00
{
runDir = "/tmp/mediocre-blog/run";
dataDir = "/tmp/mediocre-blog/data";
powSecret = "ssshhh";
mlSMTPAddr = "";
mlSMTPAuth = "";
mlPublicURL = "http://localhost:4000";
2022-05-20 23:04:20 +00:00
httpListenProto = "tcp";
httpListenAddr = ":4000";
# password is "bar". This should definitely be changed for prod.
2022-05-20 17:17:31 +00:00
httpAuthUsers = {
"foo" = "$2a$13$0JdWlUfHc.3XimEMpEu1cuu6RodhUvzD9l7iiAqa4YkM3mcFV5Pxi";
};
2022-05-20 20:54:26 +00:00
# Very low, should be increased for prod.
httpAuthRatelimit = "1s";
2021-08-03 23:47:01 +00:00
}