mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 06:54:25 +01:00
Add grub module
This commit is contained in:
parent
3e3bae4c7a
commit
6a3e7b7741
4 changed files with 14 additions and 3 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue