Commit 4bfea31 1 parent 92c4755 commit 4bfea31 Copy full SHA for 4bfea31
File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 5
5
wrapper = { } ;
6
6
}
7
7
// lib . optionalAttrs ( config . services . httpd . enable ) { apache-webapplication = {
8
- documentRoot = config . services . httpd . documentRoot ;
8
+ documentRoot = config . services . httpd . documentRoot or config . services . httpd . virtualHosts . localhost . documentRoot ;
9
9
} ; }
10
10
// lib . optionalAttrs ( config . services . tomcat . axis2 . enable ) { axis2-webservice = { } ; }
11
11
// lib . optionalAttrs ( config . services . ejabberd . enable ) { ejabberd-dump = {
12
12
ejabberdUser = config . services . ejabberd . user ;
13
13
} ; }
14
14
// lib . optionalAttrs ( config . services . mysql . enable ) { mysql-database = {
15
15
mysqlPort = config . services . mysql . port ;
16
- } // lib . optionalAttrs enableAuthentication {
17
- mysqlUsername = "root" ;
18
- mysqlPassword = builtins . readFile ( config . services . mysql . rootPassword ) ;
19
16
} ;
20
17
}
21
18
// lib . optionalAttrs ( config . services . postgresql . enable ) { postgresql-database = {
Original file line number Diff line number Diff line change 1
- 0.9
1
+ 0.9.1
You can’t perform that action at this time.
0 commit comments