-default_config :: Cfg
-default_config =
- Cfg { consumer_key = "",
- consumer_secret = "",
- access_token = "",
- access_secret = "",
- heartbeat = 600,
- ignore_replies = False,
- ignore_retweets = False,
- sendmail_path = "/usr/sbin/sendmail",
- from_address = Nothing,
- to_address = Nothing,
- verbose = False,
- usernames = [] }
+instance Default Cfg where
+ -- | A 'Cfg' with all of its fields set to their default values.
+ --
+ def = Cfg { access_secret = def,
+ access_token = def,
+ consumer_key = def,
+ consumer_secret = def,
+ daemonize = def,
+ from_address = def,
+ heartbeat = 600,
+ ignore_replies = def,
+ ignore_retweets = def,
+ pidfile = "/run/halcyon/halcyon.pid",
+ run_as_group = def,
+ run_as_user = def,
+ sendmail_path = "/usr/sbin/sendmail",
+ to_address = def,
+ usernames = def,
+ verbose = def }