Use EFI bootloader

This commit is contained in:
Tim Schubert 2021-01-02 16:40:16 +01:00
parent cd7ef95c15
commit 13ff1792cb
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,7 @@
# nix configuration
Use at your own risk.
## TODO
- Reverse-proxy Hydra via Wireguard tunnel and nginx

View file

@ -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 = [
{