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