2022-12-04 13:45:43 +00:00
|
|
|
{...}: {
|
2022-01-03 21:13:15 +00:00
|
|
|
services.quassel = {
|
|
|
|
enable = true;
|
2022-12-04 13:45:43 +00:00
|
|
|
interfaces = ["0.0.0.0"];
|
2022-01-03 21:13:15 +00:00
|
|
|
};
|
|
|
|
|
2023-09-18 03:56:58 +01:00
|
|
|
services.postgresql = {
|
|
|
|
enable = true;
|
|
|
|
ensureDatabases = ["quassel"];
|
|
|
|
ensureUsers = [
|
|
|
|
{
|
|
|
|
name = "quassel";
|
|
|
|
ensurePermissions."DATABASE quassel" = "ALL PRIVILEGES";
|
|
|
|
}
|
|
|
|
];
|
2023-08-01 20:53:25 +01:00
|
|
|
|
2023-09-18 03:56:58 +01:00
|
|
|
authentication = "host quassel quassel localhost trust";
|
|
|
|
};
|
2022-01-03 21:13:15 +00:00
|
|
|
}
|