nixos-module: fix let collectd access postgresql

This commit is contained in:
Astro 2023-08-09 10:52:08 +02:00
parent 78ddf51e92
commit 9bd04b1bb2

View File

@ -158,7 +158,7 @@ in
''; '';
ensureUsers = [ { ensureUsers = [ {
name = "collectd"; name = "collectd";
ensurePermissions."DATABASE caveman" = "SELECT"; ensurePermissions."DATABASE caveman" = "ALL PRIVILEGES";
} ]; } ];
}; };
services.collectd.plugins.postgresql = '' services.collectd.plugins.postgresql = ''