* Zabbix: only enable PostgreSQL if it's on the same machine.
svn path=/nixos/trunk/; revision=29185
This commit is contained in:
parent
7a858f2a89
commit
7dc59f0bb0
@ -63,7 +63,7 @@ in
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
services.postgresql.enable = true;
|
services.postgresql.enable = cfg.dbServer == "localhost";
|
||||||
|
|
||||||
users.extraUsers = singleton
|
users.extraUsers = singleton
|
||||||
{ name = "zabbix";
|
{ name = "zabbix";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user