nixos-configuration/modules/bootloader/default.nix
2024-07-03 01:54:17 +02:00

16 lines
316 B
Nix

{ lib, ... }:
{
options.jalr = {
bootloader = lib.mkOption {
type = lib.types.nullOr (lib.types.enum [ "systemd-boot" "grub2" "lanzaboote" ]);
default = null;
description = "Bootloader to install";
};
};
imports = [
./grub2.nix
./lanzaboote.nix
./systemd-boot.nix
];
}