ooknet/inputs/system/modules/base/boot/loader/default.nix

17 lines
231 B
Nix

{ lib, ... }:
let
inherit (lib) types mkOption;
in
{
imports = [
./systemd.nix
# ./grub
];
options.systemModules.boot.loader = mkOption {
type = types.enum ["systemd" "grub"];
default = "systemd";
};
}