{ 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 toString (config.components.bootLoader.timeout)} mouse: no ''; }; }; }