linux/generic.nix: Fix CONFIG_RUST

I thought it was module based, but it wasn't.

Fixes https://github.com/NixOS/nixpkgs/pull/306790#issuecomment-2092485576

> This has broken [...] Rust support
This commit is contained in:
Robert Hensing 2024-05-03 11:51:07 +02:00 committed by Alyssa Ross
parent 9540fcd18b
commit e768d95f41

@ -221,7 +221,7 @@ let
config = {
CONFIG_MODULES = "y";
CONFIG_FW_LOADER = "m";
CONFIG_RUST = lib.mkIf withRust "y";
CONFIG_RUST = if withRust then "y" else "n";
};
});