From 0ede7b7899b25d9e17cd8b27b70df3d6c4095e41 Mon Sep 17 00:00:00 2001 From: Aditya Date: Mon, 10 Jul 2023 17:37:30 +0530 Subject: [PATCH] add kernel modules --- configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configuration.nix b/configuration.nix index d9085c3..4e6d08f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -25,6 +25,13 @@ boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.efiSysMountPoint = "/boot/efi"; + # Kernel modules + boot.kernelModules = [ "kvm-intel" "snd-hda-intel" "i8042" ]; + boot.extraModprobeConfig = '' + options snd-hda-intel model=alc255-acer,dell-headset-multi + options i8042 nopnp=1 + ''; + # Setup keyfile boot.initrd.secrets = { "/crypto_keyfile.bin" = null;