35 lines
799 B
Nix
35 lines
799 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
boot = {
|
|
initrd = {
|
|
luks = {
|
|
devices."luks-d810fef7-b1c9-4007-bcb1-12c99c8692b0".device = "/dev/disk/by-uuid/d810fef7-b1c9-4007-bcb1-12c99c8692b0";
|
|
};
|
|
};
|
|
extraModulePackages = with config.boot.kernelPackages; [ ];
|
|
kernelParams = [ "debug" ];
|
|
loader = {
|
|
efi = {
|
|
# canTouchEfiVariables = true;
|
|
efiSysMountPoint = "/boot";
|
|
};
|
|
grub = {
|
|
enable = true;
|
|
copyKernels = true;
|
|
efiInstallAsRemovable = true;
|
|
enableCryptodisk = false;
|
|
efiSupport = true;
|
|
devices = [ "nodev" ];
|
|
extraEntries = ''
|
|
menuentry "Reboot" {
|
|
reboot
|
|
}
|
|
menuentry "Poweroff" {
|
|
halt
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|