Home Explore Blog Models CI



nixpkgs

7th chunk of `nixos/doc/manual/release-notes/rl-1903.section.md`
a9cdac9d87d07bd241e335899056b6816dc1ac5aed75dd8d0000000100000ecf
  Changes to ZRAM algorithm are applied during `nixos-rebuild switch`, so make sure you have enough swap space on disk to survive ZRAM device rebuild. Alternatively, use `nixos-rebuild boot; reboot`.

- Flat volumes are now disabled by default in `hardware.pulseaudio`. This has been done to prevent applications, which are unaware of this feature, setting their volumes to 100% on startup causing harm to your audio hardware and potentially your ears.

  ::: {.note}
  With this change application specific volumes are relative to the master volume which can be adjusted independently, whereas before they were absolute; meaning that in effect, it scaled the device-volume with the volume of the loudest application.
  :::

- The [`ndppd`](https://github.com/DanielAdolfsson/ndppd) module now supports [all config options](options.html#opt-services.ndppd.enable) provided by the current upstream version as service options. Additionally the `ndppd` package doesn't contain the systemd unit configuration from upstream anymore, the unit is completely configured by the NixOS module now.

- New installs of NixOS will default to the Redmine 4.x series unless otherwise specified in `services.redmine.package` while existing installs of NixOS will default to the Redmine 3.x series.

- The [Grafana module](options.html#opt-services.grafana.enable) now supports declarative [datasource and dashboard](http://docs.grafana.org/administration/provisioning/) provisioning.

- The use of insecure ports on kubernetes has been deprecated. Thus options: `services.kubernetes.apiserver.port` and `services.kubernetes.controllerManager.port` has been renamed to `.insecurePort`, and default of both options has changed to 0 (disabled).

- Note that the default value of `services.kubernetes.apiserver.bindAddress` has changed from 127.0.0.1 to 0.0.0.0, allowing the apiserver to be accessible from outside the master node itself. If the apiserver insecurePort is enabled, it is strongly recommended to only bind on the loopback interface. See: `services.kubernetes.apiserver.insecurebindAddress`.

- The option `services.kubernetes.apiserver.allowPrivileged` and `services.kubernetes.kubelet.allowPrivileged` now defaults to false. Disallowing privileged containers on the cluster.

- The kubernetes module does no longer add the kubernetes package to `environment.systemPackages` implicitly.

- The `intel` driver has been removed from the default list of [X.org video drivers](options.html#opt-services.xserver.videoDrivers). The `modesetting` driver should take over automatically, it is better maintained upstream and has less problems with advanced X11 features. This can lead to a change in the output names used by `xrandr`. Some performance regressions on some GPU models might happen. Some OpenCL and VA-API applications might also break (Beignet seems to provide OpenCL support with `modesetting` driver, too). Kernel mode setting API does not support backlight control, so `xbacklight` tool will not work; backlight level can be controlled directly via `/sys/` or with `brightnessctl`. Users who need this functionality more than multi-output XRandR are advised to add \`intel\` to \`videoDrivers\` and report an issue (or provide additional details in an existing one)

- Openmpi has been updated to version 4.0.0, which removes some deprecated MPI-1 symbols. This may break some older applications that still rely on those symbols. An upgrade guide can be found [here](https://www.open-mpi.org/faq/?category=mpi-removed).

  The nginx package now relies on OpenSSL 1.1 and supports TLS 1.3 by default. You can set the protocols used by the nginx service using [services.nginx.sslProtocols](options.html#opt-services.nginx.sslProtocols).

- A new subcommand `nixos-rebuild edit` was added.

Title: System Configuration, Package, and Kubernetes Updates
Summary
This update outlines several system changes, package updates, and new features. Key highlights include: ZRAM algorithm changes requiring swap space during `nixos-rebuild switch`; `hardware.pulseaudio` disabling flat volumes by default to protect audio hardware; expanded `ndppd` module configuration; Redmine new installs defaulting to 4.x; Grafana module supporting declarative provisioning; and multiple Kubernetes changes. Kubernetes updates involve renaming insecure API server ports, changing `apiserver.bindAddress` default to 0.0.0.0, defaulting `allowPrivileged` to false, and no longer implicitly adding the Kubernetes package to system packages. The `intel` X.org driver has been removed from defaults in favor of `modesetting`, potentially affecting display output names and `xbacklight`. OpenMPI is updated to 4.0.0, removing deprecated MPI-1 symbols, and Nginx now relies on OpenSSL 1.1 with TLS 1.3 support. A new `nixos-rebuild edit` subcommand has also been introduced.