webref migrated to module

This commit is contained in:
Danilo Reyes
2026-01-16 09:29:54 -06:00
parent 983e271075
commit f630e1483b
2 changed files with 1 additions and 20 deletions

View File

@@ -143,27 +143,7 @@ in
acceleration = "cuda"; acceleration = "cuda";
models = "/srv/ai/ollama"; 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;
}
];
};
}; };
programs.virt-manager.enable = true;
users.groups.libvirtd.members = [ "jawz" ];
virtualisation.libvirtd.enable = true;
systemd.services.minio-init = { systemd.services.minio-init = {
description = "Initialize MinIO buckets"; description = "Initialize MinIO buckets";
after = [ "minio.service" ]; after = [ "minio.service" ];

View File

@@ -41,6 +41,7 @@ let
"gitea" "gitea"
"atticd" "atticd"
"keycloak" "keycloak"
"webref"
]; ];
in in
{ {