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