feat: use hockeypuck instead of sks

This commit is contained in:
silver 2024-05-30 13:04:44 +01:00
parent c71b3571ce
commit 9eafd6f53e
Signed by: silver
GPG key ID: 54E2C71918E93B74

View file

@ -41,9 +41,21 @@ in {
} }
]; ];
services.sks = { services.hockeypuck = {
enable = true; enable = true;
hkpPort = port; port = port;
};
# hockeypuck needs a database backend
services.postgresql = {
enable = true;
ensureDatabases = ["hockeypuck"];
ensureUsers = [
{
name = "hockeypuck";
ensureDBOwnership = true;
}
];
}; };
services.nginx.virtualHosts = { services.nginx.virtualHosts = {