summaryrefslogtreecommitdiff
path: root/ilex
diff options
context:
space:
mode:
authorstuebinm2023-11-30 22:21:22 +0100
committerstuebinm2023-11-30 22:21:22 +0100
commitd62e8cb43dd012187f4cdba5b106ce53016355da (patch)
tree5a02da21a667c187b34a11d8a395dfaa62996ac9 /ilex
parent5a60b2cc554cae28bd85f22dfd6b90f1c67f45ba (diff)
jump to nixos 23.11
Diffstat (limited to 'ilex')
-rw-r--r--ilex/configuration.nix16
1 files changed, 4 insertions, 12 deletions
diff --git a/ilex/configuration.nix b/ilex/configuration.nix
index e309c41..e87af9a 100644
--- a/ilex/configuration.nix
+++ b/ilex/configuration.nix
@@ -43,24 +43,16 @@
ensureDatabases = [ "tracktrain" "glitchtrip" "crstracker" "travelynx" ];
ensureUsers = [ {
name = "tracktrain";
- ensurePermissions = {
- "DATABASE tracktrain" = "ALL PRIVILEGES";
- };
+ ensureDBOwnership = true;
} {
name = "travelynx";
- ensurePermissions = {
- "DATABASE travelynx" = "ALL PRIVILEGES";
- };
+ ensureDBOwnership = true;
} {
name = "glitchtrip";
- ensurePermissions = {
- "DATABASE glitchtrip" = "ALL PRIVILEGES";
- };
+ ensureDBOwnership = true;
} {
name = "crstracker";
- ensurePermissions = {
- "DATABASE crstracker" = "ALL PRIVILEGES";
- };
+ ensureDBOwnership = true;
} ];
authentication = ''
local all all trust