store password in a file, and not in nix store
This commit is contained in:
parent
9ea5275661
commit
91a382415f
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue