- The `programs.captive-browser` module no longer falls back on a setcap wrapper around udhcpc to discover your network's DNS server due to [GHSA-wc3r-c66x-8xmc](https://github.com/NixOS/nixpkgs/security/advisories/GHSA-wc3r-c66x-8xmc)(CVE-2026-25740). If you're using this module, you must either configure `programs.captive-browser.dhcp-dns` manually or enable one of NetworkManager, dhcpcd, or systemd-networkd.
- NetBox was updated to `>= 4.5.5`. Have a look at the breaking changes
of the [4.5 release](https://github.com/netbox-community/netbox/releases/tag/v4.5.0),
make the required changes to your database, if needed, then upgrade by setting `services.netbox.package = pkgs.netbox_4_5;` in your configuration.
- The `services.yggdrasil` module has been refactored with the following breaking changes:
- The `services.yggdrasil.configFile` option has been removed. Configuration should now be specified directly via `services.yggdrasil.settings`.
- The `services.yggdrasil.persistentKeys` option has been removed. To maintain persistent keys and IPv6 addresses across reboots, use `services.yggdrasil.settings.PrivateKeyPath` to securely load your private key from a file via systemd credentials. The private key must be in PEM format (PKCS #8).
if lib.versionAtLeast config.system.stateVersion "25.11"
then pkgs.netbox_4_4
else pkgs.netbox_4_2;
if lib.versionAtLeast config.system.stateVersion "26.05"
then pkgs.netbox_4_5
else pkgs.netbox_4_4;
'';
description=''
NetBox package to use.
@@ -165,6 +165,15 @@ in
'';
};
apiTokenPeppersFile=lib.mkOption{
type=withlib.types;nullOrpath;
description=''
Path to a file containing the API_TOKEN_PEPPER that will be configured for the pepper_id with the id 1.
This is required for netbox >= 4.5. For generating this pepper,
[consider using `$INSTALL_ROOT/netbox/generate_secret_key.py`](https://netboxlabs.com/docs/netbox/configuration/required-parameters/#api_token_peppers)
'';
};
extraConfig=lib.mkOption{
type=lib.types.lines;
default="";
@@ -237,11 +246,13 @@ in
GIT_PATH="${pkgs.gitMinimal}/bin/git";
DATABASE={
DATABASES={
"default"={
NAME="netbox";
USER="netbox";
HOST="/run/postgresql";
};
};
# Redis database settings. Redis is used for caching and for queuing
# background tasks such as webhook events. A separate configuration