nyx/modules/nixos/boot/loader/default.nix

20 lines
328 B
Nix
Raw Normal View History

2025-01-12 16:35:44 +00:00
{lib, ...}: let
inherit (lib.options) mkOption;
inherit (lib.types) enum;
in {
imports = [
./systemd-boot.nix
./grub.nix
];
options.olympus.system.boot.loader = mkOption {
type = enum [
"none"
"grub"
"systemd-boot"
];
default = "none";
description = "The bootloader";
};
}