about summary refs log tree commit diff
path: root/sys
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-02-13 11:32:26 +0100
committerAlyssa Ross <hi@alyssa.is>2024-02-13 12:20:46 +0100
commit822f7c15c04567fbdc27020e862ea2b70cfbf8eb (patch)
treec3b4bca07aed43ffecdc03904fe44d804511fe31 /sys
parentc0b4a00b113bee1ab11b1bd51b76bc66c0c32045 (diff)
downloadnixlib-822f7c15c04567fbdc27020e862ea2b70cfbf8eb.tar
nixlib-822f7c15c04567fbdc27020e862ea2b70cfbf8eb.tar.gz
nixlib-822f7c15c04567fbdc27020e862ea2b70cfbf8eb.tar.bz2
nixlib-822f7c15c04567fbdc27020e862ea2b70cfbf8eb.tar.lz
nixlib-822f7c15c04567fbdc27020e862ea2b70cfbf8eb.tar.xz
nixlib-822f7c15c04567fbdc27020e862ea2b70cfbf8eb.tar.zst
nixlib-822f7c15c04567fbdc27020e862ea2b70cfbf8eb.zip
sys/mbp.nix: set hardware.asahi.withRust
For some reason, the kernel is being built with Rust support anyway.
Setting this option will include nixos-apple-silicon's patches to fix
the build with the current Rust compiler, which will be required next
Nixpkgs update.
Diffstat (limited to 'sys')
-rw-r--r--sys/mbp.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mbp.nix b/sys/mbp.nix
index d68953d27535..2b9c4f472594 100644
--- a/sys/mbp.nix
+++ b/sys/mbp.nix
@@ -27,6 +27,8 @@
 
   boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/dc106480-a643-4f32-a63d-931f53e8baae";
 
+  hardware.asahi.withRust = true;
+
   boot.kernelPatches = [
     # Causes gnulib tests to fail.
     {