enable kernel rust support in nix config

This commit is contained in:
Arne Dußin 2025-04-15 14:24:23 +02:00
parent 96a043cbe7
commit c23e97dfe0

View file

@ -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" ];