mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Add psql
This commit is contained in:
parent
bfe73a2b81
commit
c91913dd2c
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||||
|
]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue