From d62e8cb43dd012187f4cdba5b106ce53016355da Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 30 Nov 2023 22:21:22 +0100 Subject: jump to nixos 23.11 --- ilex/configuration.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'ilex') 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 -- cgit v1.2.3