From 91a382415fb937b565a02a5f88ebb64654a8ebfb Mon Sep 17 00:00:00 2001 From: Sky Hearn Date: Wed, 6 Mar 2024 21:56:52 +0000 Subject: [PATCH] store password in a file, and not in nix store --- services/gitea.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gitea.nix b/services/gitea.nix index 81e580a..cbf86da 100755 --- a/services/gitea.nix +++ b/services/gitea.nix @@ -28,7 +28,7 @@ appName = "My awesome Gitea server"; # Give the site a name database = { type = "postgres"; - password = "password"; # config.sops.secrets."postgres/gitea_dbpass".path + passwordFile = "/run/keys/gitea-dbpassword"; # config.sops.secrets."postgres/gitea_dbpass".path }; settings.server = { DOMAIN = "git.my-domain.tld";