about summary refs log tree commit diff
path: root/nix/machines/vm-aarch64
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-09 15:25:25 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-09 15:25:25 -0800
commite4e769a7adaaa287cba1de8f04f04367c8c16d84 (patch)
tree30b202919328f3a93a18a7f6721b14017689a934 /nix/machines/vm-aarch64
parentfix configuration for work MBP (diff)
downloadworld-e4e769a7adaaa287cba1de8f04f04367c8c16d84.tar.gz
fix misconfiguration of the bootloader
Diffstat (limited to '')
-rw-r--r--nix/machines/vm-aarch64/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nix/machines/vm-aarch64/default.nix b/nix/machines/vm-aarch64/default.nix
index 302a80c..b1444cc 100644
--- a/nix/machines/vm-aarch64/default.nix
+++ b/nix/machines/vm-aarch64/default.nix
@@ -1,5 +1,12 @@
 { ... }: {
   imports = [ ./hardware.nix ../vm-shared.nix ];
 
+  # Use the systemd-boot EFI boot loader.
+  boot.loader.systemd-boot.enable = true;
+  boot.loader.efi.canTouchEfiVariables = true;
+
   networking.hostName = "vm-aarch64";
+
+  # enable the guest agent
+  services.qemuGuest.enable = true;
 }