mirror of
https://github.com/blahai/nyx.git
synced 2025-01-19 11:30:20 +00:00
19 lines
328 B
Nix
19 lines
328 B
Nix
{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";
|
|
};
|
|
}
|