Add grub module

This commit is contained in:
SebastianStork 2025-05-12 19:09:50 +02:00
parent 3e3bae4c7a
commit 6a3e7b7741
4 changed files with 14 additions and 3 deletions

View file

@ -1,20 +0,0 @@
{ config, lib, ... }:
{
options.myConfig.boot.loader.systemdBoot.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.boot.loader.systemdBoot.enable {
boot = {
tmp.cleanOnBoot = true;
loader = {
systemd-boot = {
enable = true;
editor = false;
configurationLimit = 20;
};
efi.canTouchEfiVariables = true;
timeout = 0;
};
};
systemd.watchdog.rebootTime = "10";
};
}