Merge pull request #236 from Ma27/includeallmodules
Fix build with `documentation.nixos.includeAllModules = true;`
This commit is contained in:
commit
62ffd894f0
|
@ -24,6 +24,7 @@ in
|
||||||
|
|
||||||
configurationLimit = mkOption {
|
configurationLimit = mkOption {
|
||||||
default = config.boot.loader.systemd-boot.configurationLimit;
|
default = config.boot.loader.systemd-boot.configurationLimit;
|
||||||
|
defaultText = "config.boot.loader.systemd-boot.configurationLimit";
|
||||||
example = 120;
|
example = 120;
|
||||||
type = types.nullOr types.int;
|
type = types.nullOr types.int;
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
|
@ -43,18 +44,21 @@ in
|
||||||
publicKeyFile = mkOption {
|
publicKeyFile = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "${cfg.pkiBundle}/keys/db/db.pem";
|
default = "${cfg.pkiBundle}/keys/db/db.pem";
|
||||||
|
defaultText = "\${cfg.pkiBundle}/keys/db/db.pem";
|
||||||
description = "Public key to sign your boot files";
|
description = "Public key to sign your boot files";
|
||||||
};
|
};
|
||||||
|
|
||||||
privateKeyFile = mkOption {
|
privateKeyFile = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "${cfg.pkiBundle}/keys/db/db.key";
|
default = "${cfg.pkiBundle}/keys/db/db.key";
|
||||||
|
defaultText = "\${cfg.pkiBundle}/keys/db/db.key";
|
||||||
description = "Private key to sign your boot files";
|
description = "Private key to sign your boot files";
|
||||||
};
|
};
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = pkgs.lzbt;
|
default = pkgs.lzbt;
|
||||||
|
defaultText = "pkgs.lzbt";
|
||||||
description = "Lanzaboote tool (lzbt) package";
|
description = "Lanzaboote tool (lzbt) package";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -72,6 +76,15 @@ in
|
||||||
default = "nixos-*";
|
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 ''
|
example = literalExpression ''
|
||||||
{
|
{
|
||||||
editor = null; # null value removes line from the loader.conf
|
editor = null; # null value removes line from the loader.conf
|
||||||
|
|
Loading…
Reference in New Issue