Merge pull request #236 from Ma27/includeallmodules

Fix build with `documentation.nixos.includeAllModules = true;`
This commit is contained in:
nikstur 2023-10-14 18:46:52 +02:00 committed by GitHub
commit 62ffd894f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -24,6 +24,7 @@ in
configurationLimit = mkOption {
default = config.boot.loader.systemd-boot.configurationLimit;
defaultText = "config.boot.loader.systemd-boot.configurationLimit";
example = 120;
type = types.nullOr types.int;
description = lib.mdDoc ''
@ -43,18 +44,21 @@ in
publicKeyFile = mkOption {
type = types.path;
default = "${cfg.pkiBundle}/keys/db/db.pem";
defaultText = "\${cfg.pkiBundle}/keys/db/db.pem";
description = "Public key to sign your boot files";
};
privateKeyFile = mkOption {
type = types.path;
default = "${cfg.pkiBundle}/keys/db/db.key";
defaultText = "\${cfg.pkiBundle}/keys/db/db.key";
description = "Private key to sign your boot files";
};
package = mkOption {
type = types.package;
default = pkgs.lzbt;
defaultText = "pkgs.lzbt";
description = "Lanzaboote tool (lzbt) package";
};
@ -72,6 +76,15 @@ in
default = "nixos-*";
};
defaultText = ''
{
timeout = config.boot.loader.timeout;
console-mode = config.boot.loader.systemd-boot.consoleMode;
editor = config.boot.loader.systemd-boot.editor;
default = "nixos-*";
}
'';
example = literalExpression ''
{
editor = null; # null value removes line from the loader.conf