Add database specific config settings
This commit is contained in:
parent
de381a5744
commit
290b8b4e82
|
@ -20,11 +20,10 @@
|
|||
pixelfed-configuration))
|
||||
|
||||
(define-maybe string)
|
||||
(define-maybe integer)
|
||||
|
||||
(define-configuration pixelfed-configuration
|
||||
(url
|
||||
(string "localhost")
|
||||
"Url for the pixelfed instance")
|
||||
;; Guix config settings
|
||||
(pixelfed
|
||||
(package pixelfed)
|
||||
"The pixelfed package to use")
|
||||
|
@ -39,7 +38,34 @@
|
|||
"Pixelfed work directory")
|
||||
(postgres?
|
||||
(boolean #t)
|
||||
"Set up postgres DB")
|
||||
"If true, extends the postgresql service running in the same system")
|
||||
|
||||
;; App variables
|
||||
(app-name
|
||||
(string "Pixelfed")
|
||||
"Name which appears onn headerbar and other locations")
|
||||
(app-url
|
||||
(string "localhost")
|
||||
"Url for the pixelfed instance")
|
||||
|
||||
;; Database variables
|
||||
(db-database
|
||||
(string "pixelfed")
|
||||
"The name of the database to connect to")
|
||||
(db-host
|
||||
(maybe-string)
|
||||
"URL to the database host")
|
||||
(db-port
|
||||
(maybe-integer)
|
||||
"Databse host port")
|
||||
(db-username
|
||||
(maybe-string)
|
||||
"The database user to connect as")
|
||||
(db-password
|
||||
(maybe-string)
|
||||
"Password for the database user")
|
||||
|
||||
;; Nginx/https configuration
|
||||
(nginx?
|
||||
(boolean #t)
|
||||
"Set up reverse proxy via nginx")
|
||||
|
|
Loading…
Reference in New Issue