Files

12 lines
391 B
Nix

{ inputs, self, ... }: {
flake.nixosModules.global = { pkgs, config, lib, ... }: {
boot.loader.grub = lib.mkIf (config.components.bootLoader.selection == "grub") {
enable = true;
useOSProber = true;
configurationLimit = config.components.bootLoader.maxGenerations;
extraConfig = ''
timeout ${config.components.bootLoader.timeout}
'';
};
};
}