diff options
author | stuebinm | 2023-04-14 00:41:17 +0200 |
---|---|---|
committer | stuebinm | 2023-04-14 00:41:17 +0200 |
commit | 73d1f298ae94b139f6b6e612d450deaa3bb5bf13 (patch) | |
tree | aed6248147f0a462e110c72f9a51bdcfced5d705 /ilex | |
parent | e86a186d2dbf9cc61939e6009c135e4ee6cc7c2c (diff) |
ilex: psql database for debug travelynx deployment
Diffstat (limited to 'ilex')
-rw-r--r-- | ilex/configuration.nix | 7 |
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"; |