nixos/journald-gateway: change default of user and system option to false (#457795)

This commit is contained in:
Florian Klink
2025-11-03 15:24:00 +00:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -259,6 +259,8 @@
- The `services.meilisearch` module now always defaults to the latest version of meilisearch, as the previous `meilisearch_1_11` package was removed. This is only an issue if you were using the old version.
- `services.journald.gateway.user` and `services.journald.gateway.system` now defaults to `false`. This new behaviour matches the default behaviour of the [`systemd-journal-gatewayd`](https://www.freedesktop.org/software/systemd/man/latest/systemd-journal-gatewayd.service.html) service itself.
- The `services.postgresql` module now sets up a systemd unit `postgresql.target`. Depending on `postgresql.target` guarantees that postgres is in read-write mode and initial/ensure scripts were executed. Depending on `postgresql.service` only guarantees a read-only connection.
- The `services.mysql` module now restarts the database `on-abnormal`, which means that it now will be restarted in certain situations, it wasn't before. For example an OOM-kill.

View File

@@ -75,7 +75,7 @@ in
};
system = lib.mkOption {
default = true;
default = false;
type = lib.types.bool;
description = ''
Serve entries from system services and the kernel.
@@ -85,7 +85,7 @@ in
};
user = lib.mkOption {
default = true;
default = false;
type = lib.types.bool;
description = ''
Serve entries from services for the current user.