+4
nixos/doc/manual/release-notes/rl-2305.section.md
+4
nixos/doc/manual/release-notes/rl-2305.section.md
···+- `netbox` was updated to 3.4. NixOS' `services.netbox.package` still defaults to 3.3 if `stateVersion` is earlier than 23.05. Please review upstream's [breaking changes](https://github.com/netbox-community/netbox/releases/tag/v3.4.0), and upgrade NetBox by changing `services.netbox.package`. Database migrations will be run automatically.- `services.mastodon` gained a tootctl wrapped named `mastodon-tootctl` similar to `nextcloud-occ` which can be executed from any user and switches to the configured mastodon user with sudo and sources the environment variables.
+124
-38
nixos/modules/services/web-apps/netbox.nix
+124
-38
nixos/modules/services/web-apps/netbox.nix
···-# Redis database settings. Redis is used for caching and for queuing background tasks such as webhook events. A separate-# configuration exists for each. Full connection details are required in both sections, and it is strongly recommended···+See the [documentation](https://docs.netbox.dev/en/stable/configuration/) for more possible options.+default = if versionAtLeast config.system.stateVersion "23.05" then pkgs.netbox else pkgs.netbox_3_3;···-See the [documentation](https://netbox.readthedocs.io/en/stable/configuration/optional-settings/) for more possible options.+See the [documentation](https://docs.netbox.dev/en/stable/configuration/) for more possible options.···See the [documentation](https://netbox.readthedocs.io/en/stable/installation/6-ldap/#configuration) for possible options.
+2
-1
nixos/tests/all-tests.nix
+2
-1
nixos/tests/all-tests.nix
···
+292
-5
nixos/tests/web-apps/netbox.nix
+292
-5
nixos/tests/web-apps/netbox.nix
······
+35
pkgs/pkgs-lib/formats.nix
+35
pkgs/pkgs-lib/formats.nix
···
+8
-8
pkgs/servers/web-apps/netbox/config.patch
+8
-8
pkgs/servers/web-apps/netbox/config.patch
···+@@ -253,11 +254,12 @@ CACHING_REDIS_SENTINEL_SERVICE = REDIS['caching'].get('SENTINEL_SERVICE', 'defau+CACHING_REDIS_URL = REDIS['caching'].get('URL', f'{CACHING_REDIS_PROTO}://{CACHING_REDIS_HOST}:{CACHING_REDIS_PORT}/{CACHING_REDIS_DATABASE}')-- 'LOCATION': f'{CACHING_REDIS_PROTO}://{CACHING_REDIS_HOST}:{CACHING_REDIS_PORT}/{CACHING_REDIS_DATABASE}',+- 'LOCATION': f'{CACHING_REDIS_PROTO}://{CACHING_REDIS_USERNAME_HOST}:{CACHING_REDIS_PORT}/{CACHING_REDIS_DATABASE}',···
+50
pkgs/servers/web-apps/netbox/config_3_3.patch
+50
pkgs/servers/web-apps/netbox/config_3_3.patch
···++CACHING_REDIS_URL = REDIS['caching'].get('URL', f'{CACHING_REDIS_PROTO}://{CACHING_REDIS_HOST}:{CACHING_REDIS_PORT}/{CACHING_REDIS_DATABASE}')+- 'LOCATION': f'{CACHING_REDIS_PROTO}://{CACHING_REDIS_HOST}:{CACHING_REDIS_PORT}/{CACHING_REDIS_DATABASE}',++STATIC_ROOT = getattr(configuration, 'STATIC_ROOT', os.path.join(BASE_DIR, 'static')).rstrip('/')
+23
-101
pkgs/servers/web-apps/netbox/default.nix
+23
-101
pkgs/servers/web-apps/netbox/default.nix
······-description = "IP address management (IPAM) and data center infrastructure management (DCIM) tool";
+110
pkgs/servers/web-apps/netbox/generic.nix
+110
pkgs/servers/web-apps/netbox/generic.nix
···+description = "IP address management (IPAM) and data center infrastructure management (DCIM) tool";+knownVulnerabilities = (lib.optional eol "Netbox version ${version} is EOL; please upgrade by following the current release notes instructions.");+# Notice the missing `lib` in the inherit: it is using this function argument rather than a `with lib;` argument.+# If you replace this by `with lib;`, pay attention it does not inherit all maintainers in nixpkgs.
+2
-1
pkgs/top-level/all-packages.nix
+2
-1
pkgs/top-level/all-packages.nix
···