action runner & webref stuff

This commit is contained in:
Danilo Reyes 2025-11-02 00:16:49 -06:00
parent 007744fb84
commit 14d3e6b1ee
2 changed files with 19 additions and 2 deletions

View File

@ -151,5 +151,22 @@ in
acceleration = "cuda";
models = "/srv/ai/ollama";
};
postgresql = {
enable = true;
package = pkgs.postgresql_17;
enableTCPIP = true;
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host all all ${config.my.localhost}/32 trust
host all all ::1/128 trust
'';
ensureDatabases = [ "webref" ];
ensureUsers = [
{
name = "webref";
ensureDBOwnership = true;
}
];
};
};
}

View File

@ -41,8 +41,8 @@ in
nodejs
python3
postgresql
docker
docker-compose
podman
podman-compose
attic-client
;
};