nix-config/modules/boot/refind.nix

24 lines
380 B
Nix

{
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 boot manager";
};
};
config = {
environment.systemPackages = with pkgs; [
refind
efibootmgr
];
};
}