Rename gitea postgres secret

This commit is contained in:
TEC 2022-08-05 00:56:16 +08:00
parent 80d2bb3637
commit b499ffe37a
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
3 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
{ config, pkgs, ... }:
{
age.secrets.postgress = {
age.secrets.postgres-gitea = {
owner = "gitea";
group = "users";
file = ../../secrets/postgress.age;
file = ../../secrets/postgres-gitea.age;
};
age.secrets.fastmail = {
@ -23,7 +23,7 @@
appName = "Gitea";
database = {
type = "postgres";
passwordFile = config.age.secrets.postgress.path;
passwordFile = config.age.secrets.postgres-gitea.path;
};
disableRegistration = true;
lfs.enable = true;

View File

@ -4,6 +4,6 @@ let
systems = [ base golgi ];
in
{
"postgress.age".publicKeys = systems;
"postgres-gitea.age".publicKeys = systems;
"fastmail.age".publicKeys = systems;
}