You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
(ns masto-embed.config
|
|
(:require
|
|
[cprop.core :refer [load-config]]
|
|
[cprop.source :as source]
|
|
[mount.core :refer [args defstate]]))
|
|
|
|
(defstate env
|
|
:start
|
|
(load-config
|
|
:merge
|
|
[(args)
|
|
(source/from-system-props)
|
|
(source/from-env)]))
|