feat: use hockeypuck instead of sks
This commit is contained in:
parent
c71b3571ce
commit
9eafd6f53e
1 changed files with 14 additions and 2 deletions
|
@ -41,9 +41,21 @@ in {
|
|||
}
|
||||
];
|
||||
|
||||
services.sks = {
|
||||
services.hockeypuck = {
|
||||
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 = {
|
||||
|
|
Loading…
Reference in a new issue