This commit is contained in:
KoenDR06 2025-02-11 17:31:06 +01:00
parent d6bdbe514d
commit dd65a32a60
9 changed files with 115 additions and 68 deletions

View file

@ -0,0 +1,23 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.boot.refind;
in {
options = {
horseman.boot.refind = {
enable = mkEnableOption "Enables rEFInd, the bootloader";
};
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
refind
];
};
}