    :aws-access-key             {:path [:aws :access-key]}
    :webserver-username         {:path [:webserver-username]}
    :webserver-pass             {:path [:webserver-pass]}
-   :webserver-url              {:path [:webserver-url]}
    :export-server-auth-username {:path [:darwin :server-auth-username]}
    :export-server-auth-pass {:path [:darwin :server-auth-pass]}
    :math-matrix-implementation {:path [:math :matrix-implementation] :parse ->keyword}

                ;; Hmmm should be able to specify a dep on port; aero?
                :private-url-base "http://localhost:8080"}
                ;; Shit... should be able to specify dependency on preprod as well!
   :webserver-url "https://preprod.pol.is/api/v3"
   :database   {:pool-size 3}
   :poller     {:votes {:polling-interval 1000}
                :moderation {:polling-interval 1000}


(defn get-config
  ([overrides]
    ;; Then infer additional values
   (assoc-inferred-values
     (deep-merge defaults
                 ;(read-string (slurp "config.edn"))
                 (get-environ-config rules environ/env)
                 overrides)))
  ([] (get-config {})))

(defrecord Config [overrides]
