This commit is contained in:
RingOfStorms (Joshua Bell) 2025-03-07 18:16:49 -06:00
parent 88f2d95e6a
commit 7bcaca441a
5 changed files with 1920 additions and 68 deletions

View file

@ -1,15 +1,15 @@
{
custom_config_key,
config,
lib,
...
}:
let
cfg = config."${custom_config_key}".boot.grub;
ccfg = import ../config.nix;
cfg = config.${ccfg.custom_config_key}.boot.grub;
in
with lib;
{
options."${custom_config_key}".boot.grub = {
options.${ccfg.custom_config_key}.boot.grub = {
enable = mkEnableOption "Grub bootloader";
device = mkOption {
type = types.str;