feat: migrate to agenix for secret management

This commit is contained in:
Jet Pham 2026-03-05 15:10:30 -08:00
parent e7e8d154aa
commit 8e174ba500
No known key found for this signature in database
23 changed files with 234 additions and 120 deletions

View file

@ -14,12 +14,8 @@
};
# You can configure SMTP here using secrets if needed
};
# Secret for DB password
settings.database.PASSWORD = config.mySecrets.forgejoDb;
database.passwordFile = config.age.secrets.forgejo-db.path;
};
services.postgresql = {
enable = true;
package = pkgs.postgresql_15;
};
services.postgresql.enable = true;
}