webref migrated to module
This commit is contained in:
@@ -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" ];
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ let
|
|||||||
"gitea"
|
"gitea"
|
||||||
"atticd"
|
"atticd"
|
||||||
"keycloak"
|
"keycloak"
|
||||||
|
"webref"
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user