added stuff to readme
This commit is contained in:
parent
cbc22ea207
commit
85344c0867
2 changed files with 3 additions and 2 deletions
|
@ -34,4 +34,5 @@ this depends on your local cabal cache.
|
||||||
- Add the nix modules to the flake
|
- Add the nix modules to the flake
|
||||||
- Better Error handling
|
- Better Error handling
|
||||||
- Find out which exceptions the SMTP module throws
|
- Find out which exceptions the SMTP module throws
|
||||||
|
- Split config into secrets and non secret config
|
||||||
|
- make the pad url configurable
|
||||||
|
|
|
@ -16,7 +16,7 @@ data Config = Config {
|
||||||
} deriving Show
|
} deriving Show
|
||||||
|
|
||||||
configCodec :: TomlCodec Config
|
configCodec :: TomlCodec Config
|
||||||
configCodec = table "mail" $ Config
|
configCodec = flip Toml.table "mail" $ Config
|
||||||
<$> Toml.string "domain" .= mailDomain
|
<$> Toml.string "domain" .= mailDomain
|
||||||
<*> Toml.string "user" .= mailUsername
|
<*> Toml.string "user" .= mailUsername
|
||||||
<*> Toml.string "password" .= mailPassword
|
<*> Toml.string "password" .= mailPassword
|
||||||
|
|
Loading…
Reference in a new issue