first commit
This commit is contained in:
18
modules/core/grub.nix
Normal file
18
modules/core/grub.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
## 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