* Zabbix: only enable PostgreSQL if it's on the same machine.

svn path=/nixos/trunk/; revision=29185
This commit is contained in:
Eelco Dolstra 2011-09-11 15:55:43 +00:00
parent 7a858f2a89
commit 7dc59f0bb0

@ -63,7 +63,7 @@ in
config = mkIf cfg.enable {
services.postgresql.enable = true;
services.postgresql.enable = cfg.dbServer == "localhost";
users.extraUsers = singleton
{ name = "zabbix";