enable kernel rust support in nix config
This commit is contained in:
parent
96a043cbe7
commit
c23e97dfe0
1 changed files with 8 additions and 0 deletions
|
|
@ -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" ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue