Use EFI bootloader
This commit is contained in:
parent
cd7ef95c15
commit
13ff1792cb
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
# nix configuration
|
||||
|
||||
Use at your own risk.
|
||||
|
||||
## TODO
|
||||
|
||||
- Reverse-proxy Hydra via Wireguard tunnel and nginx
|
||||
|
|
|
@ -69,10 +69,11 @@ in
|
|||
acceptTerms = true;
|
||||
};
|
||||
|
||||
# Use the GRUB 2 boot loader.
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.version = 2;
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue