nyx/modules/nixos/boot/loader/systemd-boot.nix

19 lines
320 B
Nix
Raw Permalink Normal View History

2025-01-12 16:35:44 +00:00
{
lib,
config,
...
}: let
inherit (lib.modules) mkIf mkDefault;
cfg = config.olympus.system.boot;
in {
config = mkIf (cfg.loader == "systemd-boot") {
boot.loader.systemd-boot = {
enable = mkDefault true;
configurationLimit = 5;
consoleMode = "max";
editor = false;
};
};
}