about summary refs log tree commit diff
path: root/apple-silicon-support/modules/boot-m1n1/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'apple-silicon-support/modules/boot-m1n1/default.nix')
-rw-r--r--apple-silicon-support/modules/boot-m1n1/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/apple-silicon-support/modules/boot-m1n1/default.nix b/apple-silicon-support/modules/boot-m1n1/default.nix
index 39e94c568a3b..ccbd40bddb8c 100644
--- a/apple-silicon-support/modules/boot-m1n1/default.nix
+++ b/apple-silicon-support/modules/boot-m1n1/default.nix
@@ -23,7 +23,7 @@ let
     '';
   };
 in {
-  config = {
+  config = lib.mkIf config.hardware.asahi.enable {
     # install m1n1 with the boot loader
     boot.loader.grub.extraFiles = bootFiles;
     boot.loader.systemd-boot.extraFiles = bootFiles;