Commit 14304078 authored by Benedikt Hiemer's avatar Benedikt Hiemer
Browse files

nixos/journald-gateway: change default of user and system option to false

Until now, both options are set to true as default. But the systemd-journal-gatewayd
service defaults them to false. To match the origin behaviour, the defaults have been
changed.
parent 54904ad7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -257,6 +257,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.
+2 −2
Original line number Diff line number Diff line
@@ -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.