[Nix-dev] Regarding extra GRUB options in Configuration.nix

Anderson Torres torres.anderson.85 at gmail.com
Tue May 27 15:29:04 CEST 2014


Well, unhappily I don't know how GRUB scripts work, but these aren't
options for /etc/grub/default file. I think we can search the corresponding
option on grub file, and modify it by editing these two entries:
boot.loader.grub.extraConfig<http://nixos.org/nixos/manual/#opt-boot.loader.grub.extraConfig>

boot.loader.grub.extraEntries<http://nixos.org/nixos/manual/#opt-boot.loader.grub.extraEntries>

boot.loader.grub.extraEntriesBeforeNixOS<http://nixos.org/nixos/manual/#opt-boot.loader.grub.extraEntriesBeforeNixOS>

Well, this is only a sketch. Sorry by the lack of conciseness.


Em 27/05/2014 06:54, "Anderson Torres" <torres.anderson.85 at gmail.com>
escreveu:
>
> What about timeout var?
>
> Em 27/05/2014 06:41, "Anderson Torres" <torres.anderson.85 at gmail.com>
escreveu:
>
>> I remember an option in c11n.nix about grub timeout. I am on a cellphone
now, but try to search NixOS manual, section about c11n vars.
>>
>> Em 27/05/2014 06:28, "Roger Qiu" <roger.qiu at polycademy.com> escreveu:
>>>
>>> Hello,
>>>
>>> In a configuration.nix, where would you be able to set GRUB options
such as:
>>>
>>> GRUB_HIDDEN_TIMEOUT=0
>>> GRUB_HIDDEN_TIMEOUT_QUIET=true
>>>
>>> The normal boot.loader.grub does not seem to have these functions?
>>>
>>> Thanks,
>>> Roger
>>>
>>> _______________________________________________
>>> nix-dev mailing list
>>> nix-dev at lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140527/393a4b22/attachment.html 


More information about the nix-dev mailing list