nixos-configuration/modules/bootloader/default.nix
2023-11-08 23:35:55 +00:00

15 lines
296 B
Nix

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