global/boot: init, refactored from modules/boot
This commit is contained in:
parent
b09425cee7
commit
c399ad4200
12 changed files with 27 additions and 79 deletions
20
modules/global/boot.nix
Normal file
20
modules/global/boot.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
in
|
||||
{
|
||||
boot.loader = {
|
||||
timeout = mkDefault 3;
|
||||
grub = {
|
||||
enable = mkDefault true;
|
||||
device = mkDefault "nodev";
|
||||
efiSupport = mkDefault true;
|
||||
useOSProber = mkDefault false;
|
||||
efiInstallAsRemovable = mkDefault true;
|
||||
};
|
||||
efi = {
|
||||
canTouchEfiVariables = mkDefault false;
|
||||
efiSysMountPoint = mkDefault "/boot/efi";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue