ensure that noa db exists

This commit is contained in:
Noa Aarts 2024-11-26 09:55:54 +01:00
parent d02a1b36fd
commit 358fec64c3
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -258,6 +258,16 @@
}; };
services = { services = {
postgresql = {
enable = true;
ensureDatabases = [ "noa" ];
ensureUsers = [
{
name = "noa";
ensureDBOwnership = true;
}
];
};
ollama = { ollama = {
enable = true; enable = true;
acceleration = "cuda"; acceleration = "cuda";