module Internal.Config
( readConfig
)
where
import Dhall hiding (record)
import Internal.Types.Main
import RIO
readConfig :: MonadUnliftIO m => FilePath -> m Config
readConfig confpath = liftIO $ unfix <$> inputFile auto confpath