store password in a file, and not in nix store

This commit is contained in:
Sky Hearn 2024-03-06 21:56:52 +00:00
parent 9ea5275661
commit 91a382415f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
appName = "My awesome Gitea server"; # Give the site a name appName = "My awesome Gitea server"; # Give the site a name
database = { database = {
type = "postgres"; 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 = { settings.server = {
DOMAIN = "git.my-domain.tld"; DOMAIN = "git.my-domain.tld";