1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00
This commit is contained in:
RGBCube 2024-01-13 14:41:43 +03:00
parent bfe73a2b81
commit c91913dd2c
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
{ config, lib, ulib, pkgs, ... }: with ulib; { config, lib, ulib, pkgs, ... }: with ulib; merge
serverSystemConfiguration { (serverSystemConfiguration {
services.prometheus.exporters.postgres = enabled { services.prometheus.exporters.postgres = enabled {
port = 9030; port = 9030;
runAsLocalSuperUser = true; runAsLocalSuperUser = true;
@ -40,5 +40,8 @@ serverSystemConfiguration {
GRANT ALL PRIVILEGES ON DATABASE nextcloud TO nextcloud; GRANT ALL PRIVILEGES ON DATABASE nextcloud TO nextcloud;
''; '';
}; };
})
} (serverSystemPackages (with pkgs; [
postgresql
]))