From c23e97dfe0c2336032ef8a1a0c5c3d6c2da358a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20Du=C3=9Fin?= Date: Tue, 15 Apr 2025 14:24:23 +0200 Subject: [PATCH] enable kernel rust support in nix config --- nix/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/configuration.nix b/nix/configuration.nix index 8294451..15c87a0 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -10,6 +10,14 @@ # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # Enable rust support in the kernel + boot.kernelPatches = [ + { + name = "Rust Support"; + patch = null; + features.rust = true; + } + ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];