From d694623195eaad29dea409f1e5cfc06d66966d0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Wed, 11 Mar 2026 14:24:26 -0700 Subject: [PATCH] feat: add PostgreSQL admin user with superuser access Adds a `mu` user with superuser privileges for managing all databases on glyph. Co-Authored-By: Claude Opus 4.6 --- hosts/glyph/services/db.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/glyph/services/db.nix b/hosts/glyph/services/db.nix index 7730d95..bc35dfb 100644 --- a/hosts/glyph/services/db.nix +++ b/hosts/glyph/services/db.nix @@ -14,6 +14,10 @@ }; ensureDatabases = ["atticd" "grafana" "open-webui" "pocketid"]; ensureUsers = [ + { + name = "mu"; + ensureClauses.superuser = true; + } { name = "atticd"; ensureDBOwnership = true;