haios/modules/nixos/boot/loader/refind.nix

19 lines
288 B
Nix
Raw Permalink Normal View History

2025-02-17 20:22:15 +02:00
{
lib,
config,
...
}: let
inherit (lib.modules) mkIf mkDefault;
cfg = config.olympus.system.boot;
in {
config = mkIf (cfg.loader == "refind") {
boot.loader.refind = {
enable = mkDefault true;
maxGenerations = 5;
extraConfig = ''
'';
};
};
}