modules/boot: move bootloaders to module
This commit is contained in:
parent
c18b633ea9
commit
bca6c11270
7 changed files with 66 additions and 45 deletions
|
@ -1,17 +0,0 @@
|
|||
{ lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
boot.loader = {
|
||||
grub = {
|
||||
enable = mkDefault true;
|
||||
device = mkDefault "nodev";
|
||||
efiSupport = mkDefault true;
|
||||
useOSProber = mkDefault false;
|
||||
efiInstallAsRemovable = mkDefault true;
|
||||
};
|
||||
efi = {
|
||||
canTouchEfiVariables = mkDefault false;
|
||||
efiSysMountPoint = mkDefault "/boot/efi";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
{ lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
boot.loader = {
|
||||
systemd-boot = {
|
||||
enable = mkDefault true;
|
||||
editor = false;
|
||||
consoleMode = "2";
|
||||
};
|
||||
|
||||
efi.canTouchEfiVariables = true;
|
||||
timeout = mkDefault 3;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue