nixos/unifi: bump default jrePackage for compat with unifi

This commit is contained in:
Michael Daniels
2026-04-26 20:12:43 -04:00
parent 5192eb03ba
commit 7685a64386
2 changed files with 3 additions and 1 deletions
@@ -256,6 +256,8 @@ See <https://github.com/NixOS/nixpkgs/issues/481673>.
- `ceph` has been upgraded to v20. See the [Ceph "tentacle" release notes](https://docs.ceph.com/en/latest/releases/tentacle/#v20-2-0-tentacle) for details and recommended upgrade procedure.
Note that **upgrades of server-side components are one-way**, and downgrading e.g. an OSD from *Tentacle* to *Squid* is not just not supported but is known to break.
- `services.unifi`'s `jrePackage` option now defaults to `jdk25_headless` instead of `jdk17_headless`, in order to be compatible with new versions of `unifi`.
- The `networking.wireless` module has been security hardened by default: the `wpa_supplicant` daemon now runs under an unprivileged user with restricted access to the system.
As part of these changes, `/etc/wpa_supplicant.conf` has been deprecated: the NixOS-generated configuration file is now linked to `/etc/wpa_supplicant/nixos.conf` and `/etc/wpa_supplicant/imperative.conf` has been added for imperatively configuring `wpa_supplicant` or when using [allowAuxiliaryImperativeNetworks](#opt-networking.wireless.allowAuxiliaryImperativeNetworks).
+1 -1
View File
@@ -41,7 +41,7 @@ in
};
services.unifi.jrePackage = lib.mkPackageOption pkgs "jdk" {
default = "jdk17_headless";
default = "jdk25_headless";
extraDescription = ''
Check the UniFi controller release notes to ensure it is supported.
'';