diff --git a/global/software-configuration.nix b/global/software-configuration.nix index 40aa612..7347e67 100644 --- a/global/software-configuration.nix +++ b/global/software-configuration.nix @@ -38,36 +38,28 @@ in ensureUsers = [ { name = "k3s"; - ensurePermissions = { - "DATABASE k3s" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; ensureClauses = { login = true; }; } { name = "gitea"; - ensurePermissions = { - "DATABASE gitea" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; ensureClauses = { login = true; }; } { name = "vaultwarden"; - ensurePermissions = { - "DATABASE vaultwarden" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; ensureClauses = { login = true; }; } { name = "saysthbot"; - ensurePermissions = { - "DATABASE saysthbot" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; ensureClauses = { login = true; };