11 lines
447 B
Nix
11 lines
447 B
Nix
{ inputs, self, ... }: {
|
|
flake.nixosModules.global = { pkgs, config, lib, ... }: {
|
|
boot.loader.limine = lib.mkIf (config.components.bootLoader.selection == "limine") {
|
|
enable = true;
|
|
maxGenerations = config.components.bootLoader.maxGenerations;
|
|
extraConfig = ''
|
|
timeout: ${if config.components.bootLoader.timeout == -1 then "no" else builtins.toString (config.components.bootLoader.timeout)}
|
|
'';
|
|
};
|
|
};
|
|
} |