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
|
# nix configuration
|
||||||
|
|
||||||
Use at your own risk.
|
Use at your own risk.
|
||||||
|
|
||||||
|
## TODO
|
||||||
|
|
||||||
|
- Reverse-proxy Hydra via Wireguard tunnel and nginx
|
||||||
|
|
|
@ -69,10 +69,11 @@ in
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.loader.grub.enable = true;
|
|
||||||
boot.loader.grub.version = 2;
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.grub.device = "/dev/sda";
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue