···263263264264- Certificate generation via the `security.acme` now limits the concurrent number of running certificate renewals and generation jobs, to avoid spiking resource usage when processing many certificates at once. The limit defaults to *5* and can be adjusted via `maxConcurrentRenewals`. Setting it to *0* disables the limits altogether.
265265266266+- New `boot.bcache.enable` (default enabled) allows completely removing `bcache` mount support.
267267+266268## Nixpkgs internals {#sec-release-23.11-nixpkgs-internals}
267269268270- The use of `sourceRoot = "source";`, `sourceRoot = "source/subdir";`, and similar lines in package derivations using the default `unpackPhase` is deprecated as it requires `unpackPhase` to always produce a directory named "source". Use `sourceRoot = src.name`, `sourceRoot = "${src.name}/subdir";`, or `setSourceRoot = "sourceRoot=$(echo */subdir)";` or similar instead.
+8-4
nixos/modules/tasks/bcache.nix
···11-{ config, lib, pkgs, ... }:
22-33-{
11+{ config, lib, pkgs, ... }: let
22+ cfg = config.boot.bcache;
33+in {
44+ options.boot.bcache.enable = lib.mkEnableOption (lib.mdDoc "bcache mount support") // {
55+ default = true;
66+ example = false;
77+ };
48 options.boot.initrd.services.bcache.enable = lib.mkEnableOption (lib.mdDoc "bcache support in the initrd") // {
59 description = lib.mdDoc ''
610 *This will only be used when systemd is used in stage 1.*
···913 '';
1014 };
11151212- config = {
1616+ config = lib.mkIf cfg.enable {
13171418 environment.systemPackages = [ pkgs.bcache-tools ];
1519