ensure that noa db exists
This commit is contained in:
parent
d02a1b36fd
commit
358fec64c3
1 changed files with 10 additions and 0 deletions
|
|
@ -258,6 +258,16 @@
|
|||
};
|
||||
|
||||
services = {
|
||||
postgresql = {
|
||||
enable = true;
|
||||
ensureDatabases = [ "noa" ];
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "noa";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
ollama = {
|
||||
enable = true;
|
||||
acceleration = "cuda";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue