summaryrefslogtreecommitdiff
path: root/ilex
diff options
context:
space:
mode:
authorstuebinm2023-04-14 00:41:17 +0200
committerstuebinm2023-04-14 00:41:17 +0200
commit73d1f298ae94b139f6b6e612d450deaa3bb5bf13 (patch)
treeaed6248147f0a462e110c72f9a51bdcfced5d705 /ilex
parente86a186d2dbf9cc61939e6009c135e4ee6cc7c2c (diff)
ilex: psql database for debug travelynx deployment
Diffstat (limited to 'ilex')
-rw-r--r--ilex/configuration.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/ilex/configuration.nix b/ilex/configuration.nix
index 9b7f5fb..5df8fba 100644
--- a/ilex/configuration.nix
+++ b/ilex/configuration.nix
@@ -35,13 +35,18 @@
services.postgresql = {
enable = true;
- ensureDatabases = [ "tracktrain" "glitchtrip" "crstracker" ];
+ ensureDatabases = [ "tracktrain" "glitchtrip" "crstracker" "travelynx" ];
ensureUsers = [ {
name = "tracktrain";
ensurePermissions = {
"DATABASE tracktrain" = "ALL PRIVILEGES";
};
} {
+ name = "travelynx";
+ ensurePermissions = {
+ "DATABASE travelynx" = "ALL PRIVILEGES";
+ };
+ } {
name = "glitchtrip";
ensurePermissions = {
"DATABASE glitchtrip" = "ALL PRIVILEGES";