From 9d01dca8692cf56ebc58ac66465ff90d93b88b45 Mon Sep 17 00:00:00 2001 From: kat witch Date: Sun, 5 Sep 2021 04:04:10 +0100 Subject: [PATCH] glauth: Further... again... --- config/modules/nixos/glauth.nix | 2 +- config/services/glauth/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/modules/nixos/glauth.nix b/config/modules/nixos/glauth.nix index 14fd1677..7ebf2fe7 100644 --- a/config/modules/nixos/glauth.nix +++ b/config/modules/nixos/glauth.nix @@ -77,7 +77,7 @@ in host=${dbcfg.host} port=${toString dbcfg.port} dbname=glauth - username=${dbcfg.username} + user=${dbcfg.username} password=@db-password@ sslmode=${if dbcfg.ssl then "enable" else "disable"} '') else "database = \"gl.db\""; diff --git a/config/services/glauth/default.nix b/config/services/glauth/default.nix index d37ec626..7c88e118 100644 --- a/config/services/glauth/default.nix +++ b/config/services/glauth/default.nix @@ -59,7 +59,7 @@ secrets.files = { glauth-postgres-file = { text = tf.variables.glauth-postgres.ref; - owner = "glauth"; + owner = "postgres"; group = "glauth"; }; glauth-config-file = {