First commit
This commit is contained in:
16
modules/grub/default.nix
Normal file
16
modules/grub/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ ... }:
|
||||
{
|
||||
## Configure boot loader
|
||||
boot.loader = {
|
||||
# Use grub without NVRAM
|
||||
grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
efiInstallAsRemovable = true;
|
||||
useOSProber = true;
|
||||
};
|
||||
# Do not edit NVRAM
|
||||
efi.canTouchEfiVariables = false;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user